TrackElementValue class
Tracks a DOM Element to identify when a value changes.
Constructors
- TrackElementValue([Duration? checkInterval])
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
-
checkElements(
) → void - Checks tracked elements for values changes.
-
getProperty(
Element element, String key) → Object? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setProperty(
Element element, String key, Object? value) → Object? -
toString(
) → String -
A string representation of this object.
inherited
-
track<
T> (Element? element, ElementValueGetter< T> ? elementValueGetter, OnElementTrackValueEvent<T> ? onTrackValueEvent, {bool periodicTracking = false}) → T? -
Tracks
element
usingelementValueGetter
to catch the value. -
untrack<
T> (Element element) → T? -
Untracks
element
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited