Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1dc120e

Browse files
committed
updated readme
1 parent8423355 commit1dc120e

File tree

1 file changed

+19
-20
lines changed

1 file changed

+19
-20
lines changed

‎README.md‎

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,28 +28,27 @@ components:
2828
see[`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
5554
There are two ways of positioning "parent" or "body".

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp