PythonMonkey   v1.0.1 (dev)
Loading...
Searching...
No Matches
event-target.js File Reference

Classes

class  Event
 
class  EventTarget
 

Functions

 if (!globalThis.Event) globalThis.Event
 

Variables

use strict
 
const debug = globalThis.python.eval('__import__("pythonmonkey").bootstrap.require')('debug')
 
exports Event = Event
 
exports EventTarget = EventTarget
 

Detailed Description

Implement browser-style EventTarget

See also
https://dom.spec.whatwg.org/#eventtarget
Author
Tom Tang xmade.nosp@m.r@di.nosp@m.strib.nosp@m.utiv.nosp@m.e.net.nosp@m.work
Date
August 2023

Function Documentation

◆ if()

if ( !globalThis.  Event)

Variable Documentation

◆ debug

const debug = globalThis.python.eval('__import__("pythonmonkey").bootstrap.require')('debug')

◆ Event

exports Event = Event

◆ EventTarget

◆ strict

use strict