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).
finalinherited
- animation → bool
-
Whether to have animation. Default: true.
finalinherited
- container → dynamic
-
The container of tooltip Element. Accepted variable forms are selector
finalinherited
- content → String?
-
The content message of the popover.
no setter
- element → Element
-
The element which component wires to.
finalinherited
- enabled → bool
-
Whether the tooptip mechanism is in effect.
no setterinherited
- hasContent → bool
-
Whether the tooltip message is non-empty.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- hideDelay → int
-
The delay time in milliseconds to show the tooptip. Default: 0.
finalinherited
- html → bool
-
Whether the tooplip content is HTML. If
false
, the content will befinalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selector → String?
-
The selector to locate descendant Elements which would trigger the tooltip.
finalinherited
- showDelay → int
-
The delay time in milliseconds to show the tooptip. Default: 0.
finalinherited
- template → String
-
The html template for tooltip.
finalinherited
- tip → Element
-
The tooltip Element.
no setterinherited
- title → String?
-
The message to show in tooltip.
no setterinherited
- trigger → String
-
The trigger conditions, as event names separated by whitespace.
finalinherited
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 nonexistent 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 -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited