9 lines
275 B
JavaScript
9 lines
275 B
JavaScript
|
import { addDomEvent } from './add-dom-event.mjs';
|
||
|
import { addPointerInfo } from './event-info.mjs';
|
||
|
|
||
|
function addPointerEvent(target, eventName, handler, options) {
|
||
|
return addDomEvent(target, eventName, addPointerInfo(handler), options);
|
||
|
}
|
||
|
|
||
|
export { addPointerEvent };
|