Observable<T> class
class Observable
- Annotations
-
- @JS()
Constructors
-
Observable([void onObserverAdded(Observer<
T> observer)])
Properties
Methods
-
add(
void callback(T eventData, EventState eventState), [num mask, bool insertFirst, dynamic scope, bool unregisterOnFirstCall]) → Observer< T> -
addOnce(
void callback(T eventData, EventState eventState)) → Observer< T> -
clear(
) → void -
clone(
) → Observable< T> -
hasObservers(
) → bool -
hasSpecificMask(
[num mask]) → bool -
makeObserverBottomPriority(
Observer< T> observer) → void -
makeObserverTopPriority(
Observer< T> observer) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyObserver(
Observer< T> observer, T eventData, [num mask]) → void -
notifyObservers(
T eventData, [num mask, dynamic target, dynamic currentTarget, dynamic userInfo]) → bool -
notifyObserversWithPromise(
T eventData, [num mask, dynamic target, dynamic currentTarget, dynamic userInfo]) → Promise< T> -
remove(
Observer< T> observer) → bool -
removeCallback(
void callback(T eventData, EventState eventState), [dynamic scope]) → bool -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited