untrack
细节
停止跟踪velocity
某些属性(或一个对象的所有属性),比如通过以下方式初始化的属性track()
方法快速转换任何坐标。
//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);