naive-ui/demo/documentation/components/popselect/enUS/index.md
2020-03-05 13:45:45 +08:00

36 lines
714 B
Markdown

# Popselect
If you want select some options but don't want a picker, you can use popselect instead.
## Demos
```demo
basic
size
scrollable
custom-width
multiple
```
## V-model
|Prop|Event|
|-|-|
|value|change|
## Props
|Name|Type|Default|Description|
|-|-|-|-|
|value|`string \| number`|`null`||
|options|`Array<SelectOption \| SelectOptionGroup>`|`[]`||
|scrollable|`boolean`|`false`||
|multiple|`boolean`|`false`||
|size|`'small' \| 'medium' \| 'large'`|`'small'`||
For SelectOption & SelectOptionGroup, see [Select](n-select#SelectOption-Type)
For other props, see [Popover](n-popover#Props)
## Events
|Name|Parameters|Description|
|-|-|-|
|change|`string \| number \| Array<string \| number> \| null`||