naive-ui/demo/documentation/components/popselect/enUS/index.md

24 lines
420 B
Markdown

# Popselect
If you want select some options but don't want a picker, tyou can use popselect instead.
## Demos
```demo
basic
cancelable
custom-width
multiple
```
## Props
|name|type|default|description|
|-|-|-|-|
|value|`string \| number`|||
|options|`Array`|||
|width|`number`|||
|multiple|`boolean`|||
|cancelable|`boolean`|||
|controller|`Object`|||
|arrow|`boolean`|||
|trigger|`'click' \| 'hover' \| 'manual'`|||