untrack
Details
Stops tracking the velocity
of certain properties (or all properties of an object), like ones initiated with the track()
method.
//starts tracking "x" and "y":
InertiaPlugin.track(obj, "x,y");
//stops tracking only the "x" property:
InertiaPlugin.untrack(obj, "x");
//stops tracking "x" and "y":
InertiaPlugin.untrack(obj, "x,y");
//stops tracking all properties of obj:
InertiaPlugin.untrack(obj);