new Loader($elementopt, inputopt)
- See:
Creates instance of App.Loader
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
$element |
jQuery |
<optional> |
element on which loader should be attached |
input |
object |
<optional> |
options for the loader. |
Methods
isVisible() → {boolean}
Returns true if the loader is currently visible
Returns:
- Type
- boolean
start()
Starts the loader
stop()
Stops the loader