Liferay.Loader.define('sharing-web$dom-helpers@5.2.0/esm/listen', ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    import addEventListener from './addEventListener';
    import removeEventListener from './removeEventListener';

    function listen(node, eventName, handler, options) {
      addEventListener(node, eventName, handler, options);
      return function () {
        removeEventListener(node, eventName, handler, options);
      };
    }

    export default listen;
  }
});
//# sourceMappingURL=listen.js.map