mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-12 12:25:16 +08:00
854 B
854 B
Dropdown
When you have some functions to trigger.
Demos
basic
trigger
cascade
placement
width
size
manual-position
Props
Name | Type | Default | Description |
---|---|---|---|
size | 'small'|'medium'|'large'|'huge' |
large |
|
default-focus | boolean |
false |
|
options | Array |
[] |
|
trigger | 'hover' | 'trigger' | 'manual' |
'hover' |
|
delay | number |
0 |
|
duration | number |
300 |
|
placement | 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-start' | 'bottom' | 'bottom-end' | 'left-start' | 'left' | 'left-end' | |
'bottom' |
|
arrow | boolean |
false |
|
disabled | boolean |
false |
|
manuallyPositioned | boolean |
false |
|
x | number |
null |
|
y | number |
null |
|
filp | boolean |
true |
|
controller | object |
null |
Events
Name | Parameters |
---|---|
select | (selectedKey) |