Sha256: 37dfb0a72c8fd62255094e2154847dd4cc04f65a81ff984ffd696f826c70397a
Contents?: true
Size: 490 Bytes
Versions: 25
Compression:
Stored size: 490 Bytes
Contents
"use strict"; const EventImpl = require("./Event-impl").implementation; const CustomEventInit = require("../generated/CustomEventInit"); class CustomEventImpl extends EventImpl { initCustomEvent(type, bubbles, cancelable, detail) { if (this._dispatchFlag) { return; } this.initEvent(type, bubbles, cancelable); this.detail = detail; } } CustomEventImpl.defaultInit = CustomEventInit.convert(undefined); module.exports = { implementation: CustomEventImpl };
Version data entries
25 entries across 22 versions & 2 rubygems