@@ -28,28 +28,27 @@ components:
2828see[ ` dev/ ` ] ( dev/ ) for examples.
2929
3030####Props
31- | Name| type| default| description|
32- | ---:| ---| ---| ---|
33- | class| Array/Object| [ "tooltip"] | vue-class of the` div ` |
34- | style| Array/Object| [ ] | vue-class of the` div ` |
35- | offset| Number| 0| offset to the parent|
36- | anchor| String| "snwe"| direction of opening, viewport dependet. "s" forces to open down. "sn" would try to open down, the up.|
37-
38- | ignore-parent| Boolean| false| will not set-up` mouseenter ` /` mouseleave ` listener on parent|
39- | is-opened| Boolean| false| (two-way) set to open / close|
40- | transition-in| Function| no animation| set animation. Argument: {el,pos,style,cb}|
41- | transition-out| Function| no animation| set animation. Argument: {el,style,cb}|
42- | parent| Element| parentElement| where the tooltip should attach|
43- | position| String| "parent"| Either "parent" or "body".[ Detailed description] ( #Positioning ) |
31+ Name | type | default | description
32+ ---:| --- | ---| ---
33+ class | Array/Object |[ "tooltip"] | vue-class of the` div ` |
34+ style | Array/Object |[ ] | vue-style of the` div ` |
35+ offset | Number | 0 | offset to the parent
36+ anchor | String | "snwe" | direction of opening, viewport dependet. "s" forces to open down. "sn" would try to open down, the up.
37+ ignore-parent | Boolean | false | will not set-up` mouseenter ` /` mouseleave ` listener on parent
38+ is-opened| Boolean| false | (two-way) set to open / close|
39+ transition-in | Function | no animation | set animation. Argument: {el,pos,style,cb}
40+ transition-out | Function | no animation | set animation. Argument: {el,style,cb}
41+ parent | Element | parentElement | where the tooltip should attach
42+ position | String | "parent" | Either "parent" or "body".[ Detailed description] ( #Positioning )
4443
4544####Events
46- | Name| description|
47- | ---:| ---|
48- | close| when received, will close|
49- | before-open| will be called before open animation|
50- | opened| will be called when opened|
51- | before-close| will be called before close animation|
52- | closed| will be called when closed|
45+ Name | description
46+ ---:| ---
47+ close | when received, will close
48+ before-open | will be called before open animation
49+ opened | will be called when opened
50+ before-close | will be called before close animation
51+ closed | will be called when closed
5352
5453####Positioning
5554There are two ways of positioning "parent" or "body".