References
Class Summary
Static Public Class Summary | ||
public |
Glider: class Paraglider plugin. |
Function Summary
Static Public Function Summary | ||
public |
belt(glider: Element, opts: PRESET_DEFAULTS): function Belt animation slider. |
|
public |
coverLeft(glider: Element, opts: PRESET_DEFAULTS): function Cover left animation slider |
|
public |
coverLeftRight(glider: Element, opts: PRESET_DEFAULTS): function Cover left/right animation slider |
|
public |
coverRight(glider: Element, opts: PRESET_DEFAULTS): function Cover right animation slider |
|
public |
dataWrapper(glider: Element, opts: DATA_DEFAULTS): function Wraps Paraglider to apply pagers and navigation buttons and autoplay. |
|
public |
multiBelt(glider: Element, opts: PRESET_DEFAULTS): function Belt animation slider. |
|
public |
multiWrapper(glider: Element, opts: PRESET_DEFAULTS): function Wrapper including navigation arrows. |
|
public |
wrapper(glider: Element, opts: PRESET_DEFAULTS): function Simple wrapper including pagers and navigation arrows. |
Static Private Function Summary | ||
private |
animate(speed: integer, from: number, to: number, callback: animationCallback): function Animates from one value to the other over a given time. |
|
private |
arrayOrValue(arr: array): any Takes an array and returns a single value if it is the only item. |
|
private |
eitherOr(either: any, or: any): any Returns either the first or second value depending on truthness. |
|
private |
Helper to get elements. |
|
private |
Helper to get elements. |
|
private |
A loop using modulo |
|
private |
parseObject(dataset: dataset): object Parse dataset with nested object strings to a true object |
|
private |
preventDefault(e: Event) Prevents default event |
|
private |
toggleClass(el: Element, className: string, bool: boolean) Toggle class ponyFill to support IE11 and other awkward browsers. |
version [version] |
Variable Summary
Static Public Variable Summary | ||
public |
Defaults for the presets. |
|
public |
Defaults for the presets. |
Static Private Variable Summary | ||
private |
Default classList for the plugin. |
Typedef Summary
Static Public Typedef Summary | ||
public |
callbackData: * |
|
public |
onDestroy(options: PLUGIN_DEFAULTS | PRESET_DEFAULTS): * Callback when the Glider has been destroyed |
|
public |
onEnd(data: callbackData, slides: Array<Element>, options: callbackOptions): * Callback when the Glider stopped moving |
|
public |
onInit(data: callbackData, slides: Array<Element>, options: PLUGIN_DEFAULTS | PRESET_DEFAULTS): * Callback when the Glider has been created |
|
public |
onSlide(progress: number, data: callbackData, slides: Array<Element>, options: callbackOptions): * Callback while the Glider is moving |
Static Private Typedef Summary | ||
private |
animationCallback(progress: number): * |