InertiaPlugin.isTracking
InertiaPlugin.isTracking( target:Element | String, property:String ) : Boolean
Parameters
target: Element | String
The Element whose property may be tracked. This can be selector text or an Element.
property: String
The name of the property, like
"x"
or"y"
Returns : Boolean
true
if the target or property is being tracked, false
if not.
Details
Allows you to discern whether the velocity of a particular target or one of its properties is being tracked (typically initiated using the track()
method).