_registerThrottledEvent(eventName) {
		let throttledEventName = `throttled${eventName}.estatico`,
			methodName = eventName.charAt(0).toUpperCase() + eventName.slice(1);

		this.$window.on(eventName, throttle(function(event) {
			$(document).triggerHandler(throttledEventName, event);
		}.bind(this)));

		// adds a public shorthand method, e.g. addResizeListener to the WindowEventListener class
		this[`addThrottled${methodName}Listener`] = this._addEventListener.bind(this, throttledEventName);
		this[`removeThrottled${methodName}Listener`] = this._removeEventListener.bind(this, throttledEventName);

		// Save to global namespace
		$.extend(true, estatico, { events: {} });
		estatico.events[eventName] = throttledEventName;
	}
/**
	 * Window event has only one throttled handler.
	 * Achieved by triggering another fake event, which is the one we subscribe to
	 * @param {String} eventName
	 * @private
	 */
Window event has only one throttled handler.
Achieved by triggering another fake event, which is the one we subscribe to
@param {String} eventName
@private
Window event has only one throttled handler . Achieved by triggering another fake event which is the one we subscribe to @param { String } eventName @private
_registerThrottledEvent(eventName) {
		let throttledEventName = `throttled${eventName}.estatico`,
			methodName = eventName.charAt(0).toUpperCase() + eventName.slice(1);
		this.$window.on(eventName, throttle(function(event) {
			$(document).triggerHandler(throttledEventName, event);
		}.bind(this)));
		this[`addThrottled${methodName}Listener`] = this._addEventListener.bind(this, throttledEventName);
		this[`removeThrottled${methodName}Listener`] = this._removeEventListener.bind(this, throttledEventName);
		$.extend(true, estatico, { events: {} });
		estatico.events[eventName] = throttledEventName;
	}
_registerThrottledEvent ( eventName ) { let throttledEventName = ` ${ eventName } ` , methodName = eventName . charAt ( 0 ) . toUpperCase ( ) + eventName . slice ( 1 ) ; this . $window . on ( eventName , throttle ( function ( event ) { $ ( document ) . triggerHandler ( throttledEventName , event ) ; } . bind ( this ) ) ) ; this [ ` ${ methodName } ` ] = this . _addEventListener . bind ( this , throttledEventName ) ; this [ ` ${ methodName } ` ] = this . _removeEventListener . bind ( this , throttledEventName ) ; $ . extend ( true , estatico , { events : { } } ) ; estatico . events [ eventName ] = throttledEventName ; }
Window event has only one throttled handler.
Window event has only one throttled handler .
// adds a public shorthand method, e.g. addResizeListener to the WindowEventListener class // Save to global namespace