new BootstrapTooltip([options])

Parameter

Name Type Optional Description

options

 

Yes

Options.

Extends
module:meteoJS/tooltip.Tooltip

Properties

content  unknown

Content of tooltip. Could be a String or a HTMLElement or a jQuery object.

Inherited from
module:meteoJS/tooltip.Tooltip#content
read-only

isShown  unknown

Is tooltip shown.

Inherited from
module:meteoJS/tooltip.Tooltip#isShown

tooltipNode  (undefined or external:jQuery)

Bootstap's tooltip is assigned to this node.

Methods

hide() → module:meteoJS/tooltip.Tooltip

Hide tooltip.

Inherited from
module:meteoJS/tooltip.Tooltip#hide
Returns

This.

protected

onContentChange()

Called when property 'content' changes.

Inherited from
module:meteoJS/tooltip.Tooltip#onContentChange

show([options]) → module:meteoJS/tooltip.Tooltip

Show tooltip.

Parameters

Name Type Optional Description

options

 

Yes

Options.

Values in options have the following properties:

Name Type Optional Description

posX

 

 

Position in x direction.

posY

 

 

Position in y direction.

Inherited from
module:meteoJS/tooltip.Tooltip#show
Returns

This.

update() → module:meteoJS/tooltip.Tooltip

Update tooltip. E.g. due to content change, which moved the tooltip.

Inherited from
module:meteoJS/tooltip.Tooltip#update
Returns

This.