Hooks
useHover
A hook that returns a boolean value indicating whether the user is hovering over an element.
useHover
A hook that returns a boolean value indicating whether the user is hovering over an element.
Usage
API
useHover
Returns a boolean value indicating whether the user is hovering over the element.
Returns
Name | Type | Description |
---|---|---|
isHovering | boolean | A boolean value indicating whether the user is hovering over the element. |