packages/plugins/resize/dist/index.js
function fireWindowResizeEvent(event) {
        frameIsRequested = false;
        if (!componentInformation) {
            return;
        }
        var handlerResults = [];
        componentInformation.forEach(function (componentInformation, i) {
            // Skip if the component is not running anymore
            if (componentInformation.component._stopped) {
                return;
            }
            componentInformation.selectors.forEach(function (selector) {
                return selector.forEach(function (handler) {
                    return handlerResults.push(handler.call(componentInformation.component, event));
                });
            });
        });
        handlerResults.forEach(function (handlerResult) {
            if (typeof handlerResult === "function") {
                handlerResult();
            }
        });
    }
function fireWindowResizeEvent(event) {
        frameIsRequested = false;
        if (!componentInformation) {
            return;
        }
        var handlerResults = [];
        componentInformation.forEach(function (componentInformation, i) {
            // Skip if the component is not running anymore
            if (componentInformation.component._stopped) {
                return;
            }
            componentInformation.selectors.forEach(function (selector) {
                return selector.forEach(function (handler) {
                    return handlerResults.push(handler.call(componentInformation.component, event));
                });
            });
        });
        handlerResults.forEach(function (handlerResult) {
            if (typeof handlerResult === "function") {
                handlerResult();
            }
        });
    }
function fireWindowResizeEvent ( event ) { frameIsRequested = false ; if ( ! componentInformation ) { return ; } var handlerResults = [ ] ; componentInformation . forEach ( function ( componentInformation , i ) { // Skip if the component is not running anymore if ( componentInformation . component . _stopped ) { return ; } componentInformation . selectors . forEach ( function ( selector ) { return selector . forEach ( function ( handler ) { return handlerResults . push ( handler . call ( componentInformation . component , event ) ) ; } ) ; } ) ; } ) ; handlerResults . forEach ( function ( handlerResult ) { if ( typeof handlerResult === "function" ) { handlerResult ( ) ; } } ) ; }
Check if the components are still running and call their event handler
Check if the components are still running and call their event handler