public class EventTarget extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier | Constructor and Description |
---|---|
protected |
EventTarget(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static EventTarget |
$as(Object obj) |
void |
addEventListener(String type,
EventListener listener) |
void |
addEventListener(String type,
EventListener listener,
Boolean useCapture) |
void |
addEventListener(String type,
EventListenerObject listener) |
void |
addEventListener(String type,
EventListenerObject listener,
Boolean useCapture) |
Boolean |
dispatchEvent(Event evt) |
void |
removeEventListener(String type,
EventListener listener) |
void |
removeEventListener(String type,
EventListener listener,
Boolean useCapture) |
void |
removeEventListener(String type,
EventListenerObject listener) |
void |
removeEventListener(String type,
EventListenerObject listener,
Boolean useCapture) |
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
protected EventTarget(Objs.Constructor<?> c, Object js)
public static EventTarget $as(Object obj)
public void addEventListener(String type, EventListener listener, Boolean useCapture)
public void addEventListener(String type, EventListenerObject listener, Boolean useCapture)
public void addEventListener(String type, EventListener listener)
public void addEventListener(String type, EventListenerObject listener)
public void removeEventListener(String type, EventListener listener, Boolean useCapture)
public void removeEventListener(String type, EventListenerObject listener, Boolean useCapture)
public void removeEventListener(String type, EventListener listener)
public void removeEventListener(String type, EventListenerObject listener)
Copyright © 2018. All rights reserved.