EventStreamProvider<T extends Event> class
A factory to expose DOM events as Streams.
Constructors
- EventStreamProvider.new(String _eventType)
-
const
Properties
- hashCode â int
-
The hash code for this object.
no setterinherited
- runtimeType â Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
forElement(
Element e, {bool useCapture = false}) â ElementStream< T> - Gets a Stream for this event type, on the specified element.
-
forTarget(
EventTarget? e, {bool useCapture = false}) â Stream< T> - Gets a Stream for this event type, on the specified target.
-
getEventType(
EventTarget target) â String - Gets the type of the event which this would listen for on the specified event target.
-
noSuchMethod(
Invocation invocation) â dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) â String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) â bool -
The equality operator.
inherited