naive-ui/demo/documentation/components/dropdown/enUS/index.md
2020-02-04 22:07:55 +08:00

888 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
manually-positioned boolean false
x number null
y number null
filp boolean true
controller object null

Events

Name Parameters Description
select (selectedKey: string | number)