Class: Helper

Helper()

new Helper()

A helper popup component
Source:

Extends

  • Component

Members

(static) align

set align - A attribute-linked property for alignment
Source:

(static) align

get align - A attribute-linked property for alignment
Source:

(static) arrowPosition

set arrowPosition - A attribute-linked property for arrow position
Source:

(static) arrowPosition

get arrowPosition - A attribute-linked property for arrow position
Source:

Methods

(static) animateHide(element, timeopt) → {void}

Parameters:
Name Type Attributes Default Description
element HTMLElement A HTML element
time number <optional>
100 The time that the animation must take
Source:
Returns:
Type
void

(static) animateShow(element, timeopt) → {void}

Parameters:
Name Type Attributes Default Description
element type A HTML Element
time type <optional>
100 The time that the animation must take
Source:
Returns:
Type
void

(static) hide(timeopt) → {void}

hide - Apply a fade out hide on the component
Parameters:
Name Type Attributes Description
time number <optional>
The time that the animation must take
Source:
Returns:
Type
void

(static) show(timeopt) → {void}

show - Apply a fade in display on the component
Parameters:
Name Type Attributes Description
time number <optional>
The time that the animation must take
Source:
Returns:
Type
void

(static) showAt(at) → {void}

Displays the component at a position relative to a specified element and handles the obstacle that is the borders of the window.
Parameters:
Name Type Description
at HTMLElement | Array | Object An HTML element, a table including the coordinates (x and y), or an object including the properties x and y.
Source:
Returns:
Type
void