Class: Styler

greppy. Styler

new Styler()

Source:

Classes

Number
Upload

Methods

initOverlay(el, showEvent, removeEvent)

Creates an overlay which is displayed on top of an element, when a specified event occurs.

Parameters:
Name Type Description
el String | Object

Maybe a String or a jQuery object.

showEvent String

Name of the event which is showing the overlay when fired.

removeEvent String

Name of the event which is removing the overlay when fired.

Source:

initSpinner(target, opts)

Initializes the spinner animation for a given target.

Parameters:
Name Type Description
target Object

Non-jQuery object where the spinner is placed

opts Object

The options for the spinner. Optional.

Source: