| Prop | Default | Type |
|---|---|---|
as | 'nav' | AsTag | ComponentThe element or component this component should render as. Can be overwritten by |
asChild | booleanChange the default rendered element for the one passed as a child, merging their props and behavior. Read our Composition guide for more details. | |
defaultValue | stringThe value of the menu item that should be active when initially rendered. Use when you do not need to control the value state. | |
delayDuration | 200 | numberThe duration from when the pointer enters the trigger until the tooltip gets opened. |
dir | 'ltr' | 'rtl'The reading direction of the combobox when applicable. If omitted, inherits globally from | |
disableClickTrigger | false | booleanIf |
disableHoverTrigger | false | booleanIf |
disablePointerLeaveClose | booleanIf | |
modelValue | stringThe controlled value of the menu item to activate. Can be used as | |
orientation | 'horizontal' | 'vertical' | 'horizontal'The orientation of the menu. |
skipDelayDuration | 300 | numberHow much time a user has to enter another trigger without incurring a delay again. |
unmountOnHide | true | booleanWhen |
| Emit | Payload |
|---|---|
update:modelValue | [value: string]Event handler called when the value changes. |
| Slots (default) | Payload |
|---|---|
modelValue | stringCurrent input values |
