Commit 28ab119d9fcfe55ec93cb2f03582a05d5e01bfae
1 parent
55238beb
Tooltip support transfer setting
Showing
3 changed files
with
7 additions
and
5 deletions
Show diff stats
examples/main.js
examples/routers/tooltip.vue
1 | 1 | <template> |
2 | 2 | <div style="margin: 200px;"> |
3 | - <Tooltip always placement="top-end" transfer :content="text" :delay="1000" theme="light"> | |
3 | + <Tooltip always placement="top-end" :content="text" :delay="1000" theme="light"> | |
4 | 4 | <Button @click="disabled = true">延时1秒显示</Button> |
5 | 5 | </Tooltip> |
6 | - <Tooltip always transfer :max-width="200" content="我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长"> | |
6 | + <Tooltip always :max-width="200" content="我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长"> | |
7 | 7 | <Button @click="handleChange">change</Button> |
8 | 8 | </Tooltip> |
9 | 9 | <Button @click="handleChange">change</Button> |
10 | - <Poptip title="Title" transfer padding="0" width="250" word-wrap content="我的文本超级,无敌,长我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长"> | |
10 | + <Poptip title="Title" padding="0" width="250" word-wrap content="我的文本超级,无敌,长我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长我的文本超级无敌长"> | |
11 | 11 | <Button>Click</Button> |
12 | 12 | </Poptip> |
13 | 13 | </div> | ... | ... |
src/components/tooltip/tooltip.vue