Home > @lndsld/react-hooks > useUserSelect
Sets user-select
CSS property
Signature:
declare function useUserSelect<E extends HTMLElement>(value: UserSelectType | boolean, options?: UseUserSelectOptions<E>): void;
Parameter | Type | Description |
---|---|---|
value | UserSelectType | boolean | value for user-select CSS property (boolean shorthand also available) |
options | UseUserSelectOptions<E> | (Optional) configuration options for hook |
Returns:
void