CustomEvent
[<Interface>]
type CustomEvent<'T> =
abstract member detail: 'T
static member Create (detail: 'T, initCustomEvent: Action<string,bool option,bool option,'T option>, bubbles: bool, cancelBubble: bool, cancelable: bool, composed: bool, defaultPrevented: bool, eventPhase: float, isTrusted: bool, returnValue: bool, timeStamp: float, type: string, composedPath: unit -> EventTarget array, initEvent: Action<string,bool option,bool option>, preventDefault: unit -> unit, stopImmediatePropagation: unit -> unit, stopPropagation: unit -> unit, ?currentTarget: EventTarget, ?srcElement: EventTarget, ?target: EventTarget) : CustomEvent<'T>
abstract member initCustomEvent (type: string, ?bubbles: bool, ?cancelable: bool, ?detail: 'T) : unit
| |
|---|
| Assembly | Xantham.Fable.Core.TS |
| Implements | Event |
| Attributes | [<Interface>] |
Properties
abstract member detail: 'T
Methods
static member Create (detail: 'T, initCustomEvent: Action<string,bool option,bool option,'T option>, bubbles: bool, cancelBubble: bool, cancelable: bool, composed: bool, defaultPrevented: bool, eventPhase: float, isTrusted: bool, returnValue: bool, timeStamp: float, type: string, composedPath: unit -> EventTarget array, initEvent: Action<string,bool option,bool option>, preventDefault: unit -> unit, stopImmediatePropagation: unit -> unit, stopPropagation: unit -> unit, ?currentTarget: EventTarget, ?srcElement: EventTarget, ?target: EventTarget) : CustomEvent<'T>
abstract member initCustomEvent (type: string, ?bubbles: bool, ?cancelable: bool, ?detail: 'T) : unit