Methods
abort()
- Source:
Abort a load.
getDefaultCharacterSet() → {string}
- Source:
Get the default character set.
Returns:
The default character set.
- Type
- string
load(data)
- Source:
Load a list of buffers.
Parameters:
Name | Type | Description |
---|---|---|
data |
Array | The list of buffers to load. |
onabort(_event)
- Source:
Handle an abort event. Default does nothing.
Parameters:
Name | Type | Description |
---|---|---|
_event |
object | The abort event. |
onerror(_event)
- Source:
Handle an error event. Default does nothing.
Parameters:
Name | Type | Description |
---|---|---|
_event |
object | The error event. |
onload(_event)
- Source:
Handle a load event. Default does nothing.
Parameters:
Name | Type | Description |
---|---|---|
_event |
object | The load event fired when a file has been loaded successfully. |
onloadend(_event)
- Source:
Handle a load end event. Default does nothing.
Parameters:
Name | Type | Description |
---|---|---|
_event |
object | The load end event fired when a file load has completed, successfully or not. |
onloaditem(_event)
- Source:
Handle a load item event. Default does nothing.
Parameters:
Name | Type | Description |
---|---|---|
_event |
object | The load item event fired when a file item has been loaded successfully. |
onloadstart(_event)
- Source:
Handle a load start event. Default does nothing.
Parameters:
Name | Type | Description |
---|---|---|
_event |
object | The load start event. |
onprogress(_event)
- Source:
Handle a load progress event. Default does nothing.
Parameters:
Name | Type | Description |
---|---|---|
_event |
object | The progress event. |
setDefaultCharacterSet(characterSet)
- Source:
Set the default character set.
Parameters:
Name | Type | Description |
---|---|---|
characterSet |
string | The character set. |