mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-27 05:00:48 +08:00
14 lines
318 B
Markdown
14 lines
318 B
Markdown
|
# 延迟
|
||
|
```html
|
||
|
<n-popover :delay="500" :duration="500" :width="240">
|
||
|
<template v-slot:activator>
|
||
|
<n-button style="margin:0;">
|
||
|
延迟 500ms, 持续 500ms
|
||
|
</n-button>
|
||
|
</template>
|
||
|
<span>
|
||
|
Lately did you ever feel the pain In the morning rain as it soaks it to the bone
|
||
|
</span>
|
||
|
</n-popover>
|
||
|
```
|