UseSwitchParameters

external interface UseSwitchParameters(source)

Properties

Link copied to clipboard
abstract var checked: Boolean?

If true, the component is checked.

Link copied to clipboard
abstract var defaultChecked: Boolean?

The default checked state. Use when the component is not controlled.

Link copied to clipboard
abstract var disabled: Boolean?

If true, the component is disabled.

Link copied to clipboard
abstract var onBlur: FocusEventHandler<*>?
Link copied to clipboard

Callback fired when the state is changed.

Link copied to clipboard
abstract var onFocus: FocusEventHandler<*>?
Link copied to clipboard
Link copied to clipboard
abstract var readOnly: Boolean?

If true, the component is read only.

Link copied to clipboard
abstract var required: Boolean?

If true, the input element is required.