new bcdui.widget.MouseTracker(args)
widget/mouseTracker.js, line 61
Creates a new mouse tracker instance. This instance is inactive until the
#start() method is called. Then it tracks the mouse movement on the
specified base element until the #stop() method is executed.
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
args |
Object |
The argument map offers the following properties:
|
Methods
-
start()
widget/mouseTracker.js, line 142 -
Starts the observation of the base element. New instances of the MouseTracker object do not automatically start tracking so the start() method should be called on them.
-
stop()
widget/mouseTracker.js, line 154 -
Stops observing the base element for mouse enter / leave.