Components.ContextualHelp private

addListeners

private

enter

private

Called when a show event has been received

Parameters:

  • e Object

getTriggerTargetElement

private

handleTriggerEvent

private

hide

private

Hide the tooltip/popover

leave

private

Called when a hide event has been received

Parameters:

  • e Object

removeListeners

private

replaceArrow

private

Position the tooltip/popover's arrow

Parameters:

  • delta Object
  • dimension Object
  • isVertical Object

show

private

Show the tooltip/popover

toggle

private

Called for a click event

_renderInPlace boolean private

arrowElement object private

The DOM element of the arrow element.

autoPlacement boolean public

By default it will dynamically reorient the tooltip/popover based on the available space in the viewport. For example, if placement is "left", the tooltip/popover will display to the left when possible, otherwise it will display right. Set to false to force placement according to the placement property

delay number public

Delay showing and hiding the tooltip/popover (ms). Individual delays for showing and hiding can be specified by using the delayShow and delayHide properties.

delayHide number public

Delay hiding the tooltip/popover. This property overrides the general delay set with the delay property.

delayShow number public

Delay showing the tooltip/popover. This property overrides the general delay set with the delay property.

destinationElement object private

The wormhole destinationElement

fade boolean public

Set to false to disable fade animations.

hoverState number private

Current hover state, 'in', 'out' or null

inDom boolean private

overlayElement object private

The DOM element of the overlay element.

overlayId string private

The id of the overlay element.

renderInPlace boolean public

Default: false

Defined in addon/components/bs-contextual-help.js:299

If true component will render in place, rather than be wormholed.

showHelp boolean private

Default: false

Defined in addon/components/bs-contextual-help.js:100

Used to apply Bootstrap's visibility class

timer unknown private

Ember.run timer

title string public

title string public

Default: 'top'

Defined in addon/components/bs-contextual-help.js:35

How to position the tooltip/popover - top | bottom | left | right

transitionDuration number public

The duration of the fade transition

triggerElement string | null public

The DOM element that triggers the tooltip/popover. By default it is the parent element of this component. You can set this to any CSS selector to have any other element trigger the tooltip/popover. With the special value of "parentView" you can attach the tooltip/popover to the parent component's element.

triggerEvents array|string public

Default: 'hover focus'

Defined in addon/components/bs-contextual-help.js:269

The event(s) that should trigger the tooltip/popover - click | hover | focus. You can set this to a single event or multiple events, given as an array or a string separated by spaces.

usesTransition boolean private

Use CSS transitions?

viewportElement object private

The DOM element of the viewport element.

viewportPadding number public

Take a padding into account for keeping the tooltip/popover within the bounds of the element given by viewportSelector.

viewportSelector string public

Default: 'body'

Defined in addon/components/bs-contextual-help.js:156

Keeps the tooltip/popover within the bounds of this element when autoPlacement is true. Can be any valid CSS selector.

visible boolean public

Default: false

Defined in addon/components/bs-contextual-help.js:59

You can programmatically show the tooltip/popover by setting this to true

onHidden

public

This action is called when the tooltip/popover has finished being hidden from the user (will wait for CSS transitions to complete).

onHide

public

This action is called immediately when the tooltip/popover is about to be hidden.

onShow

public

This action is called immediately when the tooltip/popover is about to be shown.

onShown

public

This action will be called when the tooltip/popover has been made visible to the user (will wait for CSS transitions to complete).

Classes