Modal class

A Modal box component.

Inheritance

Constructors

Construct a Modal object and wire it to element.

Properties

$element ElementQuery
The dquery object of element. Equivalent to $(element).
final, inherited
backdrop String
final
element Element
The element which component wires to.
final, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
isShown bool
True if the Modal is shown.
read-only
keyboard bool
Return true if the Modal component listens to escape key for closing.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

hide() → dynamic
Hide the Modal.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
show() → dynamic
Show the Modal.
toggle() → dynamic
Toggle the visibility state of the Modal.
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 Modal component.
wire(Element element, [Modal create()]) Modal
Retrieve the wired Modal object from an element. If there is no wired [...]