readme and rearrange directions

This commit is contained in:
cupcakearmy 2022-01-13 15:00:46 +01:00
parent 273af813b1
commit febedffb26
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
3 changed files with 4 additions and 2 deletions

BIN
.github/screen.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@ -2,7 +2,9 @@
Svelte library for tooltips internally powered by the awesome [Popper.js](https://popper.js.org/) with sensible default values.
Check out the **[demo]()** to see it in action.
Check out the **[demo](https://svelte-hint.pages.dev/)** to see it in action.
![Screenshot](.github/screen.png)
## 🌈 Features

View File

@ -3,7 +3,7 @@
import interact from 'interactjs'
import { onMount } from 'svelte'
const directions = ['auto', 'top', 'right', 'bottom', 'left']
const directions = ['auto', 'left', 'top', 'bottom', 'right']
const aligns = ['start', 'center', 'end']
let offset = 4