M4DListComponent class

Inheritance

Constructors

M4DListComponent.fromElement(HtmlElement element, Container iocContainer)

Properties

events ↔ Map<String, Function>
Provide here all the events your component can handle [...]
read / write, inherited-setter, override-getter
renderIntervall ↔ Duration
read / write
template → String
Subclasses must override this getter
read-only, override
attributes → Map<String, String>
read-only, inherited
classes CssClassSet
read-only, inherited
element Element
This is the element witch has the mdl-js- class
final, inherited
eventStreams → List<StreamSubscription>
Collects all the registered Events - helpful for downgrading an element Sample: eventStreams.add(input.onFocus.listen( _onFocus));
final, inherited
hashCode → int
The hash code for this object.
read-only, inherited
hub Element
Main element. If there is no child element like in mdl-button hub = button = element [...]
read-only, inherited
injector Container
final, inherited
onClick ElementStream<MouseEvent>
read-only, inherited
onInput ElementStream<Event>
read-only, inherited
parent MdlComponent
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
visualDebugging ↔ bool
If an error occurs in the Component and {visualDebugging} is true a red border will be drawn around the Component {visualDebugging} is set in {_upgradeElement}
read / write, inherited

Methods

attached() → void
Called after DomRenderer has added this component to the DOM or if MdlComponentHandler hast upgrade the component and it's already in the DOM! [...]
inherited
cancelStream(StreamSubscription stream) → void
Helper for cancelling streams - checks for null
inherited
downgrade() → void
Cancels all the registered streams
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
query(String selector, { bool logError: true }) Element
Searches for child of element based on the given selector [...]
inherited
render() → Future
inherited
toString() → String
Returns a string representation of this object.
inherited
update() → void
Called by the framework after styles or attributes are updated from an external Component like MaterialAttribute or MaterialClass
inherited
waitForChild<T>(String selector, { Duration wait: const Duration(milliseconds: 100), int maxIterations: 10 }) → FutureOr<T>
Waits until the first descendant element of element that matches the specified selector is available. [...]
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Static Methods

widget(HtmlElement element) M4DListComponent