Module: preloader

Preloader add-on. Provides API to create various types of standard preloaders.

Summary

Methods

Detailed Description

Methods

create_advanced_preloader(options)

Create an advanced preloader.
Parameters:
Name Type Description
options Object Initialization options.
Properties
Name Type Description
canvas_container_id String Canvas container ID.
background_container_id String Background container ID.
preloader_bar_id String Preloader bar ID.
fill_band_id String Preloader band ID.
preloader_caption_id String Preloader caption ID.
preloader_container_id String Preloader container ID.
img_width Number Device image width.
preloader_width Number Preloader width.
Deprecated:
Source:

create_preloader(options)

Create a preloader.
Parameters:
Name Type Description
options Object Initialization options.
Properties
Name Type Attributes Description
container_color String <optional>
The CSS background color of the preloader container.
bar_color String <optional>
The CSS background color of the preloader bar.
frame_color String <optional>
The CSS color of the preloader frame border.
font_color String <optional>
The CSS color of the preloader font.
Source:

create_rotation_preloader(options)

Create a rotation preloader.
Parameters:
Name Type Description
options Object Initialization options.
Properties
Name Type Attributes Description
canvas_container_id String Canvas container ID.
background_container_id String <optional>
Background container ID.
bg_color String <optional>
Background color.
frame_bg_color String <optional>
Frame background color.
frame_class String <optional>
CSS frame class.
anim_elem_class String <optional>
Animated element class.
Deprecated:
Source:

create_simple_preloader(options)

Create a simple preloader.
Parameters:
Name Type Description
options Object Initialization options.
Properties
Name Type Attributes Description
canvas_container_id String Canvas container ID.
background_container_id String <optional>
Background container ID.
bg_color String <optional>
Background color.
bar_color String <optional>
Load bar color.
Deprecated:
Source:

update_preloader(percentage)

Update the preloader bar status.
Parameters:
Name Type Description
percentage Number The new preloader bar percentage
Source: