Show:

Class: Spin

Spin

new Spin()

adapters/Spin.js, line 11

Spin.js adapter class.

See:

Extends

  • uijet.BaseWidget

Methods

spin(){Widget}

adapters/Spin.js, line 34

Initializes a spinner and turns it on.

Related options:

  • spinner_options: config object for the spinner instance constructor.

The above config object can take an extra option element which can be an element, query selector, or a function returning one of these, to use as the spinner's container.

spinOff(){Widget}

adapters/Spin.js, line 80

Turns the spinner off.

spinToggle(switch_on){Widget}

adapters/Spin.js, line 93

Toggles the spinner.

Name Type Description
switch_on boolean optional

enforces toggling on or off. If true then toggled to on.