v7.3.0

Hoverable
Mixin
internal

This mixin provides mouse hover tracking.

 class Tracker extends Base.mixin(Hoverable) {
     hoverEnter(leaving) {
         // this.hoverTarget has been entered from "leaving"
         // this.hoverTarget will never be null, but leaving may be null
     }

hoverLeave(leaving) { // this.hoverTarget has been entered from "leaving" // this.hoverTarget may be null, but leaving will never be null }

hoverMove(event) { // called when a mousemove is made within a hover target // this.hoverTarget will never be null } }

let tracker = new Tracker({ hoverRootElement : document.body, hoverSelector : '.hoverable' });
No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class

Properties

Properties are getters/setters or publicly accessible variables on this class

Functions

Functions are methods available for calling on the class

    Source path

    Core/mixin/Hoverable.js

    Contents