Task specification for DOM Events.

Experimental. May disappear without notice.

Implements

Constructors

EventSubscriptionSpecification({String name, bool isOneShot, EventTarget target, String eventType, void onData(T event), bool useCapture})

Properties

eventType String

The event-type of the event. For example 'click' for click events.

read-only
hashCode int

Get a hash code for this object.

read-only, inherited
isOneShot bool

read-only
name String

read-only
onData ZoneUnaryCallback

read-only
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited
target EventTarget

read-only
useCapture bool

read-only

Operators

operator ==(other) bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
replace({String name, bool isOneShot, EventTarget target, String eventType, void onData(T event), bool useCapture}) EventSubscriptionSpecification<T>

Returns a copy of this instance, with every non-null argument replaced by the given value.

toString() String

Returns a string representation of this object.

inherited