UseSwitchReturnValue

external interface UseSwitchReturnValue(source)

Properties

Link copied to clipboard
abstract external var checked: Boolean

If true, the component will be checked.

Link copied to clipboard
abstract external var disabled: Boolean

If true, the component will be disabled.

Link copied to clipboard
abstract external var focusVisible: Boolean

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

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

Resolver for the input slot's props.

Link copied to clipboard
abstract external var inputRef: RefCallback<HTMLInputElement>?

Ref to the input slot's DOM node.

Link copied to clipboard
abstract external var readOnly: Boolean

If true, the component will be read only.