Skip to content

Commit 72ec841

Browse files
committed
Add data-position attribute documentation
1 parent 7eb068e commit 72ec841

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ For example:
1515
```html
1616
<a href='http://google.com/' data-intro='Hello step one!' data-step='1'></a>
1717
````
18+
19+
Optionally you can define `data-position` attribute to define the position of tooltip with values `top`, `right`, `left` and `bottom`. Default value is `bottom`.
1820

1921
**3)** Call this JavaScript function:
2022
```javascript

0 commit comments

Comments
 (0)