Files
starface-outlook-sync-addin/node_modules/@fluentui/utilities/lib/dom/on.js
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

5 lines
246 B
JavaScript

export function on(element, eventName, callback, options) {
element.addEventListener(eventName, callback, options);
return function () { return element.removeEventListener(eventName, callback, options); };
}
//# sourceMappingURL=on.js.map