Boolean if the hover mode is currently working.
A convenience prop that allows you to spread all the hover mode event handlers onto a single component if no custom functionality is required.
A convenience prop that allows you to spread only the onMouseEnter
and
onMouseLeave
the hover mode event handlers onto a single component if no
custom functionality is required.
A function to manually set the visibility state if you need even more custom behavior.
Boolean if the the visible
state is true
because the user clicked an
element.
Boolean if the temporary element should be visible.
Clears the current onMouseEnter
visibility timer.
A function that will disable the hover mode for all connected components.
This should normally be called after leaving a hoverable element or the
UserInteractionMode changes to "touch"
.
A function that will enable the hover mode for all connected components. This should normally be called after hovering over an element for the HoverModeContext.visibleInTime.
An optional event handler to merge with the hover mode visibility handler.
If this function calls event.stopPropagation()
, the hover mode behavior
will be disabled.
An optional event handler to merge with the hover mode visibility handler.
If this function calls event.stopPropagation()
, the hover mode behavior
will be disabled.
An optional event handler to merge with the hover mode visibility handler.
If this function calls event.stopPropagation()
, the hover mode behavior
will be disabled.
A function that will start a timer for disabling the hover mode for all connected components. This should normally be called after leaving a hoverable element
Generated using TypeDoc
@since 5.0.0