CustomEvent

package js.html

extends Event

Available on js

This interface inherits properties from its parent, Event:

Documentation CustomEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Constructor

new(type:String, ?eventInitDict:Null<CustomEventInit>)

Throws:

null

DOMError

Variables

read onlydetail:Dynamic

Any data passed when initializing the event.

Methods

initCustomEvent(type:String, canBubble:Bool = false, cancelable:Bool = false, ?detail:Dynamic):Void

Initializes a CustomEvent object. If the event has already being dispatched, this method does nothing.