Namespace glow
Version
@VERSION@.
Defined in: core.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
The glow library namespace
The library can also be used as a function, which is a shortcut to
glow.NodeList.
|
| Method Attributes | Method Name and Description |
|---|---|
|
load()
Add a package to this instance of the Glow library.
|
|
|
loaded(onLoadCallback)
Do something when all the packages load.
|
|
|
ready(onReadyCallback)
Do something when all the packages load and the DOM is ready.
|
Namespace Detail
glow
The glow library namespace
The library can also be used as a function, which is a shortcut to
glow.NodeList.
var links = glow('a');
// is the same as
var links = new glow.NodeList('a');
Method Detail
load()
Add a package to this instance of the Glow library.
Defined in: glow.js.
Defined in: glow.js.
- Parameters:
- {string[]} ...
- The names of 1 or more packages to add.
loaded(onLoadCallback)
Do something when all the packages load.
Defined in: glow.js.
Defined in: glow.js.
- Parameters:
- {function} onLoadCallback
- Called when all the packages load.
ready(onReadyCallback)
Do something when all the packages load and the DOM is ready.
Defined in: glow.js.
Defined in: glow.js.
- Parameters:
- {function} onReadyCallback
- Called when all the packages load and the DOM is available.