"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.makeElementInputEventHandler = void 0;
function makeElementInputEventHandler(component) {
    return function (event) {
        const { value } = this;
        event.preventDefault();
        event.stopImmediatePropagation();
        component.set('value', value);
        component.dispatchEvent(event.type, value);
    };
}
exports.makeElementInputEventHandler = makeElementInputEventHandler;
//# sourceMappingURL=handleElementInputEvent.js.map