hypeDocument.stopAllCustomBehaviourTicker
Hype Pro Extension: Stops all active ticker broadcasting custom behaviour.
/**
* hypeDocument.stopAllCustomBehaviourTicker
* @require stopCustomBehaviourTicker
*/
hypeDocument.stopAllCustomBehaviourTicker = function(){
if (this.hasOwnProperty('_ticker')) {
for (var behaviour in this._ticker) {
this.stopCustomBehaviourTicker (behaviour);
}
}
}
Usage:
hypeDocument.stopAllCustomBehaviourTicker();
Updates:
1.0 initial release
1.1 code cleanup