Popover class
A pop up component bound to the given Element.
Constructors
- Popover(Element element, {bool animation, String placement(Element elem), String selector, String template, String trigger, String title(Element elem), String content(Element elem), int delay, int showDelay, int hideDelay, bool html, dynamic container, NodeValidatorBuilder htmlValidator, String defaultTemplate = _defalutTemplate, String defaultTrigger = 'click'})
-
Construct a Popover component and wire it to
element
.. See Tooltip [...]
Properties
- $element → ElementQuery
-
The dquery object of element. Equivalent to $(element).
final, inherited
- animation → bool
-
Whether to have animation. Default: true.
final, inherited
- container → dynamic
-
The container of tooltip Element. Accepted variable forms are selector [...]
final, inherited
- content → String
-
The content message of the popover.
read-only
- element → Element
-
The element which component wires to.
final, inherited
- enabled → bool
-
Whether the tooptip mechanism is in effect.
read-only, inherited
- hasContent → bool
-
Whether the tooltip message is non-empty.
read-only, override
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- hideDelay → int
-
The delay time in milliseconds to show the tooptip. Default: 0.
final, inherited
- html → bool
-
Whether the tooplip content is HTML. If
false
, the content will be [...]final, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- selector → String
-
The selector to locate descendant Elements which would trigger the tooltip. [...]
final, inherited
- showDelay → int
-
The delay time in milliseconds to show the tooptip. Default: 0.
final, inherited
- template → String
-
The html template for tooltip.
final, inherited
- tip → Element
-
The tooltip Element.
read-only, inherited
- title → String
-
The message to show in tooltip.
read-only, inherited
- trigger → String
-
The trigger conditions, as event names separated by whitespace. [...]
final, inherited
Methods
-
destroy(
) → void -
Destroy the component.
inherited
-
disable(
) → void -
Disable tooptip.
inherited
-
enable(
) → void -
Enable tooptip.
inherited
-
hide(
) → void -
Hide the tooltip.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
show(
) → void -
Show the tooltip.
inherited
-
toggle(
) → void -
Toggle visibility of tooltip.
inherited
-
toggleEnabled(
) → void -
Toggle enable/disable state.
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited