mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-06 12:17:13 +08:00
docs(dropdown)
This commit is contained in:
parent
6b35bd2562
commit
15a440dd06
@ -4,9 +4,7 @@ Basic usage of dropdown
|
||||
|
||||
```html
|
||||
<n-dropdown trigger="hover" @select="handleSelect" :options="options">
|
||||
<n-button :keyboard="false"
|
||||
>Money Force Us to Work Rather Than Sleep</n-button
|
||||
>
|
||||
<n-button :keyboard="false"> Go For a Trip </n-button>
|
||||
</n-dropdown>
|
||||
```
|
||||
|
||||
|
@ -9,9 +9,7 @@ Use different placement.
|
||||
placement="bottom-start"
|
||||
:options="options"
|
||||
>
|
||||
<n-button :keyboard="false"
|
||||
>Money Force Us to Work Rather Than Sleep</n-button
|
||||
>
|
||||
<n-button :keyboard="false">Go For a Trip</n-button>
|
||||
</n-dropdown>
|
||||
```
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
```html
|
||||
<n-dropdown trigger="hover" @select="handleSelect" :options="options">
|
||||
<n-button :keyboard="false">金钱所迫,起床工作</n-button>
|
||||
<n-button :keyboard="false">找个地方休息</n-button>
|
||||
</n-dropdown>
|
||||
```
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
placement="bottom-start"
|
||||
:options="options"
|
||||
>
|
||||
<n-button :keyboard="false">金钱所迫,起床工作</n-button>
|
||||
<n-button :keyboard="false"> 找个地方休息 </n-button>
|
||||
</n-dropdown>
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user