EventTarget
[<Interface>]
type EventTarget =
static member Create (addEventListener: Action<string,EventListenerOrEventListenerObject option,U2<bool,AddEventListenerOptions> option>, dispatchEvent: Event -> bool, removeEventListener: Action<string,EventListenerOrEventListenerObject option,U2<bool,EventListenerOptions> option>) : EventTarget
abstract member addEventListener (type: string, ?callback: EventListenerOrEventListenerObject, ?options: U2<bool,AddEventListenerOptions>) : unit
abstract member dispatchEvent (event: Event) : bool
abstract member removeEventListener (type: string, ?callback: EventListenerOrEventListenerObject, ?options: U2<bool,EventListenerOptions>) : unit
| |
|---|
| Assembly | Xantham.Fable.Core.TS |
| Attributes | [<Interface>] |
Methods
static member Create (addEventListener: Action<string,EventListenerOrEventListenerObject option,U2<bool,AddEventListenerOptions> option>, dispatchEvent: Event -> bool, removeEventListener: Action<string,EventListenerOrEventListenerObject option,U2<bool,EventListenerOptions> option>) : EventTarget
abstract member addEventListener (type: string, ?callback: EventListenerOrEventListenerObject, ?options: U2<bool,AddEventListenerOptions>) : unit
abstract member dispatchEvent (event: Event) : bool
abstract member removeEventListener (type: string, ?callback: EventListenerOrEventListenerObject, ?options: U2<bool,EventListenerOptions>) : unit