On Hover Event

key option type example notes
enable boolean true / false
mode string
array
"grab"
"bubble"
"repulse"
"connect"
["grab", "bubble"]
the array enables all the specified modes
interface IHoverEvent {
    enable: boolean;
    mode: SingleOrMultiple<string>;
    parallax: IParallax;
}

Implemented by

Properties

Properties

enable: boolean

This property is used to enable or disable the event.

mode: SingleOrMultiple<string>

This property contains a click mode value or an array of those values. If this value is an array, every mode will be used on click.

parallax: IParallax

The hover event parallax options