UseSelectReturnValue

Properties

Link copied to clipboard
abstract var buttonActive: Boolean

If true, the trigger button is active (pressed).

Link copied to clipboard

If true, the trigger button has a visible focus.

Link copied to clipboard
abstract var buttonRef: RefCallback<Element>?

Ref to the button slot DOM node.

Link copied to clipboard
abstract var contextValue: dynamic

A value to be passed to the SelectProvider component.

Link copied to clipboard
abstract var disabled: Boolean

If true, the select is disabled.

Link copied to clipboard
abstract var dispatch: (action: Any) -> Unit

Action dispatcher for the select component. Allows to programmatically control the select.

Link copied to clipboard
abstract var getButtonProps: Props

Resolver for the button slot's props.

Link copied to clipboard

Resolver for the hidden input slot's props.

Link copied to clipboard
abstract var getListboxProps: Props

Resolver for the listbox slot's props.

Link copied to clipboard
abstract var getOptionMetadata: (optionValue: Value) -> SelectOption<Value>?

A function that returns the metadata of an option with a given value.

Link copied to clipboard
abstract var highlightedOption: Value?

The value of the highlighted option.

Link copied to clipboard

Ref to the listbox slot DOM node.

Link copied to clipboard
abstract var open: Boolean

If true, the listbox is open.

Link copied to clipboard
abstract var options: dynamic

Values of all the registered options.

Link copied to clipboard
abstract var value: dynamic

The value of the selected option(s).