class js.html.CustomEvent extends Event

Available on js

The DOM CustomEvent are events initialized by an application for any purpose. It's represented by the nsIDOMCustomEvent  interface, which extends the nsIDOMEvent interface.

Documentation for this class was provided by MDN.

Instance Fields

var detail:Dynamic

The data passed when initializing the event.

function new(type:String, ?canBubble:Bool, ?cancelable:Bool):Void

function initCustomEvent(typeArg:String, canBubbleArg:Bool, cancelableArg:Bool, detailArg:Dynamic):Void