src/on/_adddomlistener.js
function createBindingHandlers({
    fullEventName,
    domEventHandler,
    selector
}) {
    return {
        bindHandler(evt = {}) {
            const { node } = evt;
            if (node) {
                dom.$(node).on(fullEventName, selector, domEventHandler);
            }
        },
        unbindHandler(evt = {}) {
            const { node } = evt;
            if (node) {
                dom.$(node).off(fullEventName, selector, domEventHandler);
            }
        }
    };
}
function createBindingHandlers({
    fullEventName,
    domEventHandler,
    selector
}) {
    return {
        bindHandler(evt = {}) {
            const { node } = evt;
            if (node) {
                dom.$(node).on(fullEventName, selector, domEventHandler);
            }
        },
        unbindHandler(evt = {}) {
            const { node } = evt;
            if (node) {
                dom.$(node).off(fullEventName, selector, domEventHandler);
            }
        }
    };
}
function createBindingHandlers ( { fullEventName , domEventHandler , selector } ) { return { bindHandler ( evt = { } ) { const { node } = evt ; if ( node ) { dom . $ ( node ) . on ( fullEventName , selector , domEventHandler ) ; } } , unbindHandler ( evt = { } ) { const { node } = evt ; if ( node ) { dom . $ ( node ) . off ( fullEventName , selector , domEventHandler ) ; } } } ; }
returns an object with event handlers used at addDomListener
returns an object with event handlers used at addDomListener