animate.end¶
webix.animate.
end
(node, animation)¶webix.animate.end helper.
Please look into the linked official documentation.
External references¶
Code¶
1 2 3 4 5 6 7 8 9 10 11 | webix.animate.end = function(node, animation){
//stop animation
node.style[webix.env.transitionDuration] = "1ms";
node._has_animation = null;
//clear animation wait order, if any
if (webix._wait_animate)
window.clearTimeout(webix._wait_animate);
//plan next animation, if any
webix._wait_animate = webix.delay(webix.animate, webix, [node,animation],10);
};
|