Class glow.net.ResourceRequest
Defined in: core.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Request made via glow.net.getResources
|
| Field Attributes | Field Name and Description |
|---|---|
|
Total number of resources successfully loaded.
|
|
|
Total number of resources requested.
|
| Event Attributes | Event Name and Description |
|---|---|
|
load(event)
Fired when all the requested items have completed.
|
|
|
progress(event)
Fired when a single resource loads.
|
Field Detail
{number}
totalLoaded
Total number of resources successfully loaded.
{number}
totalResources
Total number of resources requested.
Event Detail
load(event)
Fired when all the requested items have completed.
- Parameters:
- {glow.events.Event} event
- Event Object
progress(event)
Fired when a single resource loads.
- Parameters:
- {glow.events.Event} event
- Event Object
- {string} event.url
- Url of the loaded resource.
- {glow.NodeList} event.resource
- The element used to load the resource. This will be a `