Alert class

An alert message box component.

Inheritance

Constructors

Alert(Element element)
Construct an Alert object and wire it to element.

Properties

$element → ElementQuery
The dquery object of element. Equivalent to $(element).
finalinherited
element Element
The element which component wires to.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Detach the Alert component from DOM.
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

Static Methods

use() → void
Register to use Alert component.
useInShadowDom(ShadowRoot shadowRoot) → void
Register to use Alert into a ShadowDom
wire(Element element, [Alert? create()?]) Alert?
Retrieve the wired Alert object from an element. If there is no wired