src/utilities/transition/BaseTransition.js
function halt() {
    if ( !_isAnimating ) { return; }
    _dom.style.webkitTransitionDuration = '0';
    _dom.style.mozTransitionDuration = '0';
    _dom.style.oTransitionDuration = '0';
    _dom.style.transitionDuration = '0';
    _dom.removeEventListener( _transitionEndEvent,
                              _transitionCompleteBinded );
    _transitionCompleteBinded();
    _dom.style.webkitTransitionDuration = '';
    _dom.style.mozTransitionDuration = '';
    _dom.style.oTransitionDuration = '';
    _dom.style.transitionDuration = '';
  }
function halt() {
    if ( !_isAnimating ) { return; }
    _dom.style.webkitTransitionDuration = '0';
    _dom.style.mozTransitionDuration = '0';
    _dom.style.oTransitionDuration = '0';
    _dom.style.transitionDuration = '0';
    _dom.removeEventListener( _transitionEndEvent,
                              _transitionCompleteBinded );
    _transitionCompleteBinded();
    _dom.style.webkitTransitionDuration = '';
    _dom.style.mozTransitionDuration = '';
    _dom.style.oTransitionDuration = '';
    _dom.style.transitionDuration = '';
  }
function halt ( ) { if ( ! _isAnimating ) { return ; } _dom . style . webkitTransitionDuration = '0' ; _dom . style . mozTransitionDuration = '0' ; _dom . style . oTransitionDuration = '0' ; _dom . style . transitionDuration = '0' ; _dom . removeEventListener ( _transitionEndEvent , _transitionCompleteBinded ) ; _transitionCompleteBinded ( ) ; _dom . style . webkitTransitionDuration = '' ; _dom . style . mozTransitionDuration = '' ; _dom . style . oTransitionDuration = '' ; _dom . style . transitionDuration = '' ; }
Halt an in-progress animation and call the complete event immediately.
Halt an in - progress animation and call the complete event immediately .