Popover class

A pop up component bound to the given Element.



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 [...]


$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.
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


destroy() → void
Destroy the component.
disable() → void
Disable tooptip.
enable() → void
Enable tooptip.
hide() → void
Hide the tooltip.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
show() → void
Show the tooltip.
toggle() → void
Toggle visibility of tooltip.
toggleEnabled() → void
Toggle enable/disable state.
toString() → String
Returns a string representation of this object.


operator ==(Object other) → bool
The equality operator. [...]

Static Methods

wire(Element element, [Popover create()]) Popover
Retrieve the wired Popover object from an element. If there is no wired [...]