Prop | Default | Type |
---|---|---|
as | 'nav' | AsTag | Component The element or component this component should render as. Can be overwritten by |
asChild | boolean Change the default rendered element for the one passed as a child, merging their props and behavior. Read our Composition guide for more details. | |
defaultValue | string The 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 | number The 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 | boolean If |
disableHoverTrigger | false | boolean If |
disablePointerLeaveClose | boolean If | |
modelValue | string The controlled value of the menu item to activate. Can be used as | |
orientation | 'horizontal' | 'vertical' | 'horizontal' The orientation of the menu. |
skipDelayDuration | 300 | number How much time a user has to enter another trigger without incurring a delay again. |
unmountOnHide | true | boolean When |
Emit | Payload |
---|---|
update:modelValue | [value: string] Event handler called when the value changes. |
Slots (default) | Payload |
---|---|
modelValue | string Current input values |