Class src/assets.js
Jaws.Assets
- Defined in: assets.js
Constructor Attributes | Constructor Name and Description |
---|---|
src/assets.js()
jaws.assets properties and functions
Loads and processes image, sound, video, and json assets
(Used internally by JawsJS to create jaws.assets)
|
Field Attributes | Field Name and Description |
---|---|
bust_cache/assets.js#bust_cache
Add a random argument-string to assets-urls when loading to bypass any cache
|
|
can_play/assets.js#can_play
Listing of postfixes and (during runtime) populated booleans
|
|
file_type/assets.js#file_type
Listing of file postfixes and their associated types
|
|
fuchia_to_transparent/assets.js#fuchia_to_transparent
Convert the color fuchia to transparent when loading .bmp-files
|
|
image_to_canvas/assets.js#image_to_canvas
Convert all image assets to canvas internally
|
|
root/assets.js#root
Rootdir from where all assets are loaded
|
Class Detail
src/assets.js()
jaws.assets properties and functions
Loads and processes image, sound, video, and json assets
(Used internally by JawsJS to create jaws.assets)
Field Detail
{boolean}
bust_cache
Add a random argument-string to assets-urls when loading to bypass any cache
{array}
can_play
Listing of postfixes and (during runtime) populated booleans
{array}
file_type
Listing of file postfixes and their associated types
{boolean}
fuchia_to_transparent
Convert the color fuchia to transparent when loading .bmp-files
{boolean}
image_to_canvas
Convert all image assets to canvas internally
{string}
root
Rootdir from where all assets are loaded