InputTags API
API documentation for InputTags component
InputTagsRoot#
Props#
Defines valid properties in InputTags component.
State#
Defines valid state in InputTags component.
Exposes#
Defines the methods and properties exposed by InputTags component.
Events#
InputTagsRootValueChangeEvent
Event fired when the inputtags's value changes.
InputTagsOpenChangeEvent
Event object for the onOpenChange callback.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of InputTags component.
Types#
Instance
Instance of InputTags component.
| values |
|---|
| ComponentInstance<InputTagsRootProps, InputTagsRootState, InputTagsRootExposes> |
InputTagsInput#
Props#
Defines valid properties in InputTagsInput component.
Exposes#
Defines the methods and properties exposed by InputTagsInput component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of InputTagsInput component.
| name | type | default | description |
|---|---|---|---|
| root | InputTagsInputPassThroughType<HTMLAttributes<HTMLInputElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of InputTagsInput component.
| values |
|---|
| ComponentInstance<InputTagsInputProps, InputTagsInputState, InputTagsInputExposes> |
InputTagsItem#
Props#
Defines valid properties in InputTagsItem component.
Exposes#
Defines the methods and properties exposed by InputTagsItem component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of InputTagsItem component.
| name | type | default | description |
|---|---|---|---|
| root | InputTagsItemPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of InputTagsItem component.
| values |
|---|
| ComponentInstance<InputTagsItemProps, InputTagsItemState, InputTagsItemExposes> |
InputTagsPortal#
Props#
Defines valid properties in InputTagsPortal component.
Exposes#
Defines the methods and properties exposed by InputTagsPortal component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of InputTagsPortal component.
Types#
Instance
Instance of InputTagsPortal component.
| values |
|---|
| ComponentInstance<InputTagsPortalProps, InputTagsPortalState, InputTagsPortalExposes> |
InputTagsList#
Props#
Defines valid properties in InputTagsList component.
Exposes#
Defines the methods and properties exposed by InputTagsList component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of InputTagsList component.
| name | type | default | description |
|---|---|---|---|
| root | InputTagsListPassThroughType<HTMLAttributes<HTMLDivElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of InputTagsList component.
| values |
|---|
| ComponentInstance<InputTagsListProps, InputTagsListState, InputTagsListExposes> |
InputTagsOptions#
Props#
Defines valid properties in InputTagsOptions component.
Exposes#
Defines the methods and properties exposed by InputTagsOptions component.
| name | type | default | description |
|---|---|---|---|
| inputtags | InputTagsRootInstance | null | The InputTags component instance. |
| listbox | ListboxRootInstance | null | The Listbox component instance. |
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of InputTagsOptions component.
| name | type | default | description |
|---|---|---|---|
| root | InputTagsOptionsPassThroughType<HTMLAttributes<HTMLUListElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of InputTagsOptions component.
| values |
|---|
| ComponentInstance<InputTagsOptionsProps, InputTagsOptionsState, InputTagsOptionsExposes> |
InputTagsOption#
Props#
Defines valid properties in InputTagsOption component.
Exposes#
Defines the methods and properties exposed by InputTagsOption component.
Interfaces#
PassThroughOptions
Defines passthrough(pt) options of InputTagsOption component.
| name | type | default | description |
|---|---|---|---|
| root | InputTagsOptionPassThroughType<HTMLAttributes<HTMLLIElement>> | null | Used to pass attributes to the root's DOM element. |
Types#
Instance
Instance of InputTagsOption component.
| values |
|---|
| ComponentInstance<InputTagsOptionProps, InputTagsOptionState, InputTagsOptionExposes> |
useInputTags#
Props#
Defines valid properties in useInputTags.
State#
Defines valid state in useInputTags.
Exposes#
Defines the methods and properties exposed by useInputTags.
Events#
useInputTagsValueChangeEvent
Custom change event for InputTags component.
useInputTagsAddEvent
Event fired when an item is added.
useInputTagsRemoveEvent
Event fired when an item is removed.
useInputTagsInputValueChangeEvent
Event fired when the input value changes.
| name | type | description |
|---|---|---|
| originalEvent | E | The original event that triggered the change. |
| query | string | The current input value (query). |
useInputTagsCompleteEvent
Event fired when the autocomplete triggers a search/complete action.
| name | type | description |
|---|---|---|
| originalEvent | E | The original event that triggered the complete. |
| query | string | The current query string. |
useInputTagsOpenChangeEvent
Event object for the onOpenChange callback.
Types#
Instance
Instance of useInputTags headless.
| values |
|---|
| HeadlessInstance<useInputTagsProps, useInputTagsState, useInputTagsExposes> |