MaterialDialogComponent class

Private Component! (not true - since 20. June 18 because Injector needs this class to be public!)

Necessary to change the parent-scope in MaterialDialog#show Marked as MdlComponentModel to keep the name in Dart2JS

The name is checked in MaterialModel (

Inheritance

Constructors

MaterialDialogComponent.fromElement(HtmlElement element, Container iocContainer)

Properties

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
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) MaterialDialogComponent