jsdom
Version:
A JavaScript implementation of many web standards
15 lines (10 loc) • 388 B
JavaScript
;
const { createEventAccessor } = require("../helpers/create-event-accessor");
const { windowEventHandlersEvents } = require("../../../generated/event-sets");
class WindowEventHandlersImpl {}
for (const event of windowEventHandlersEvents) {
createEventAccessor(WindowEventHandlersImpl.prototype, event);
}
module.exports = {
implementation: WindowEventHandlersImpl
};