Skip to content

MessageEvent

[<Interface>]
type MessageEvent =
    abstract member bubbles: bool
    abstract member cancelBubble: bool with get, set
    abstract member cancelable: bool
    abstract member composed: bool
    abstract member currentTarget: EventTarget2 option
    abstract member data: obj
    abstract member defaultPrevented: bool
    abstract member eventPhase: EventPhase
    abstract member isTrusted: bool
    abstract member lastEventId: string
    abstract member origin: string
    abstract member ports: MessagePortConstructor array
    abstract member returnValue: bool with get, set
    abstract member source: MessagePortConstructor option
    abstract member srcElement: EventTarget2 option
    abstract member target: EventTarget2 option
    abstract member timeStamp: float
    abstract member type: string
    static member Create (bubbles: bool, cancelBubble: bool, cancelable: bool, composed: bool, defaultPrevented: bool, eventPhase: EventPhase, isTrusted: bool, returnValue: bool, timeStamp: float, type: string, composedPath: unit -> EventTarget2 option array, initEvent: Action<string,bool option,bool option>, preventDefault: unit -> unit, stopImmediatePropagation: unit -> unit, stopPropagation: unit -> unit, data: obj, lastEventId: string, origin: string, ports: MessagePortConstructor array, initMessageEvent: Action<string,bool option,bool option,obj option,string option,string option,MessagePortConstructor option,MessagePortConstructor array option>, ?currentTarget: EventTarget2, ?srcElement: EventTarget2, ?target: EventTarget2, ?source: MessagePortConstructor) : MessageEvent
    abstract member composedPath () : EventTarget2 option array
    abstract member initEvent (type: string, ?bubbles: bool, ?cancelable: bool) : unit
    abstract member initMessageEvent (type: string, ?bubbles: bool, ?cancelable: bool, ?data: obj, ?origin: string, ?lastEventId: string, ?source: MessagePortConstructor, ?ports: MessagePortConstructor array) : unit
    abstract member preventDefault () : unit
    abstract member stopImmediatePropagation () : unit
    abstract member stopPropagation () : unit
AssemblyXantham.Fable.Node
Attributes[<Interface>]

Properties

abstract member bubbles: bool
abstract member cancelBubble: bool with get, set
abstract member cancelable: bool
abstract member composed: bool
abstract member currentTarget: EventTarget2 option
abstract member data: obj
abstract member defaultPrevented: bool
abstract member eventPhase: EventPhase
abstract member isTrusted: bool
abstract member lastEventId: string
abstract member origin: string
abstract member ports: MessagePortConstructor array
abstract member returnValue: bool with get, set
abstract member source: MessagePortConstructor option
abstract member srcElement: EventTarget2 option
abstract member target: EventTarget2 option
abstract member timeStamp: float
abstract member type: string

Methods

static member Create (bubbles: bool, cancelBubble: bool, cancelable: bool, composed: bool, defaultPrevented: bool, eventPhase: EventPhase, isTrusted: bool, returnValue: bool, timeStamp: float, type: string, composedPath: unit -> EventTarget2 option array, initEvent: Action<string,bool option,bool option>, preventDefault: unit -> unit, stopImmediatePropagation: unit -> unit, stopPropagation: unit -> unit, data: obj, lastEventId: string, origin: string, ports: MessagePortConstructor array, initMessageEvent: Action<string,bool option,bool option,obj option,string option,string option,MessagePortConstructor option,MessagePortConstructor array option>, ?currentTarget: EventTarget2, ?srcElement: EventTarget2, ?target: EventTarget2, ?source: MessagePortConstructor) : MessageEvent
abstract member composedPath () : EventTarget2 option array
abstract member initEvent (type: string, ?bubbles: bool, ?cancelable: bool) : unit
abstract member initMessageEvent (type: string, ?bubbles: bool, ?cancelable: bool, ?data: obj, ?origin: string, ?lastEventId: string, ?source: MessagePortConstructor, ?ports: MessagePortConstructor array) : unit
abstract member preventDefault () : unit
abstract member stopImmediatePropagation () : unit
abstract member stopPropagation () : unit