10
0
Fork 0
mirror of https://github.com/Azure/setup-helm.git synced 2026-04-14 18:44:47 +00:00
setup-helm/node_modules/jsdom/lib/jsdom/living/events/PageTransitionEvent-impl.js
2022-01-26 21:54:27 +00:00

20 lines
625 B
JavaScript

"use strict";
const EventImpl = require("./Event-impl").implementation;
const PageTransitionEventInit = require("../generated/PageTransitionEventInit");
// https://html.spec.whatwg.org/multipage/browsing-the-web.html#pagetransitionevent
class PageTransitionEventImpl extends EventImpl {
initPageTransitionEvent(type, bubbles, cancelable, persisted) {
if (this._dispatchFlag) {
return;
}
this.initEvent(type, bubbles, cancelable);
this.persisted = persisted;
}
}
PageTransitionEventImpl.defaultInit = PageTransitionEventInit.convert(undefined);
exports.implementation = PageTransitionEventImpl;