UseTabParameters

external interface UseTabParameters(source)

Properties

Link copied to clipboard
abstract var disabled: Boolean?

If true, the tab will be disabled.

Link copied to clipboard
abstract var id: String?

The id of the tab. If not provided, it will be automatically generated.

Link copied to clipboard
abstract var onChange: (event: SyntheticEvent<*, *>, value: Any) -> Unit?

If true, the tab will be disabled.

Link copied to clipboard
abstract var onClick: MouseEventHandler<*>?

Callback fired when the tab is clicked.

Link copied to clipboard
abstract var rootRef: Ref<Element>?

Ref to the root slot's DOM element.

Link copied to clipboard
abstract var value: dynamic

The value of the tab. It's used to associate the tab with a tab panel(s) with the same value. If the value is not provided, it falls back to the position index.