src/main/javascript/animation/floatz.animation.animation.js
/**
	 * Trigger the CSS animation.
	 *
	 * @param handler Trigger handler
	 * @returns {Animation} Animation
	 */
Trigger the CSS animation.
@param handler Trigger handler
@returns {Animation} Animation
Trigger the CSS animation . @param handler Trigger handler @returns { Animation } Animation
trigger(handler) {
		console.debug(LOG_PREFIX + this._type + " triggered");
		handler();
		if (UserAgent.ie().detect() ) {
			if (this._startHandler !== null) {
				this._startHandler();
			}
			if (this._iterateHandler !== null) {
				this._iterateHandler();
			}
			if (this._endHandler !== null) {
				this._endHandler();
			}
		}
		return this;
	}
trigger ( handler ) { console . debug ( LOG_PREFIX + this . _type + " triggered" ) ; handler ( ) ; if ( UserAgent . ie ( ) . detect ( ) ) { if ( this . _startHandler !== null ) { this . _startHandler ( ) ; } if ( this . _iterateHandler !== null ) { this . _iterateHandler ( ) ; } if ( this . _endHandler !== null ) { this . _endHandler ( ) ; } } return this ; }
Trigger the CSS animation.
Trigger the CSS animation .
// FIXME Find more generic way also for non-ie browsers // FIXME End handler does not fire in IE11, Edge (or too late ....) // Workaround if animation handlers are not supported /* && UserAgent.ie().version() <= 9 */ // console.warn(LOG_PREFIX + "Manually triggering " + this._type + " handlers for IE <= 9");