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).
final, inherited
element Element
The element which component wires to.
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

close() → void
Detach the Alert component from DOM.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns 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 [...]