src/xblocks/block.js
function wrapperEvents(srcFunc, objFunc, ...args) {
    const event = (args[ 0 ] instanceof Event) && args[ 0 ];
    const isStopped = event ? () => event.immediatePropagationStopped : stubFalse;

    if (!isStopped() && isFunction(objFunc)) {
        objFunc.apply(this, args);
    }

    if (!isStopped() && isFunction(srcFunc)) {
        srcFunc.apply(this, args);
    }
}
function wrapperEvents(srcFunc, objFunc, ...args) {
    const event = (args[ 0 ] instanceof Event) && args[ 0 ];
    const isStopped = event ? () => event.immediatePropagationStopped : stubFalse;

    if (!isStopped() && isFunction(objFunc)) {
        objFunc.apply(this, args);
    }

    if (!isStopped() && isFunction(srcFunc)) {
        srcFunc.apply(this, args);
    }
}
Implementation of inherited event.
@example
// call objFunc, srcFunc
_.wrap(objFunc, _.wrap(srcFunc, wrapperEvents));
@param {function} [srcFunc]
@param {function} [objFunc]
@param {...*} args
@private