Class: Slickloader

Slickloader(parent)

Slickloader class used for the SlickLoader element

Constructor

new Slickloader(parent)

Creates an instance of Slickloader
Parameters:
Name Type Description
parent Element | String The wrapper for the SlickLoader module
Source:

Members

element :Element

The loader element
Type:
  • Element
Source:

Methods

(static) destroy(selector)

Removes any Slickloader mutation from the DOM
Parameters:
Name Type Description
selector String The selector for the Slickloader parent
Source:

clearText()

Clears any text from the Slickloader
Source:

destroy()

Removes any Slickloader mutation from the DOM
Source:

disable()

Hides the Slickloader
Source:

enable()

Displays the Slickloader
Source:

setText(text1, text2)

Set two lines of text at the center of the Slickloader
Parameters:
Name Type Description
text1 String The first line of text
text2 String The second line of text
Source: