IHoverOptions

Type interface

Represents collection of options related to hovering elements

Inheritance

IHoverOptions does not extend any other symbol.

IHoverOptions is not extended by any other symbol.

Properties

touchOutBehavior
#

Type "removed" | "delay" | "leave"

Default "leave"

What happens when element is no longer touched.

"remove" - "out" event is triggered immediately, meaning all related hover states and tooltips will be removed.

"delay" - "out" event is delayed by touchOutDelay milliseconds.

"leave" (default) - "out" event will not be triggered until any other interaction takes place somewhere elese.

touchOutDelay
#

Type number

How long in milliseconds should "out" event be delayed when the element is not longer being touched. Works only if touchOutBehavior = "delay".