UseSwitchReturnValue

external interface UseSwitchReturnValue(source)

Properties

Link copied to clipboard
abstract var checked: Boolean

If true, the component will be checked.

Link copied to clipboard
abstract var disabled: Boolean

If true, the component will be disabled.

Link copied to clipboard
abstract var focusVisible: Boolean

If true, it indicates that the component is being focused using keyboard.

Link copied to clipboard
abstract var getInputProps: (externalProps: HTMLAttributes<HTMLInputElement>?) -> Any

Resolver for the input slot's props.

Link copied to clipboard

Ref to the input slot's DOM node.

Link copied to clipboard
abstract var readOnly: Boolean

If true, the component will be read only.