new window.PS.loader()
source/components/ResourceLoader.js, line 25
Component that manage loading external resources
Extends
- starsGDK.Class
Methods
-
staticwindow.PS.loader.loadCSS(files, callback)
source/components/ResourceLoader.js, line 232 -
Load external CSS resources
Name Type Description filesArray callbackfunction -
staticwindow.PS.loader.loadHTML(files, callback, callbackForSingleFile)
source/components/ResourceLoader.js, line 91 -
Load external HTML resources and pass file content back to callback function
Name Type Description filesArray callbackfunction callbackForSingleFilefunction -
staticwindow.PS.loader.loadJS(files, callback)
source/components/ResourceLoader.js, line 202 -
Load external JS resources
Name Type Description filesArray callbackfunction -
staticwindow.PS.loader.loadJSON(files, callback, callbackForSingleFile)
source/components/ResourceLoader.js, line 101 -
Load external JSON resources and pass file content back to callback function
Name Type Description filesArray callbackfunction callbackForSingleFilefunction -
staticwindow.PS.loader.loadLang(files, callback)
source/components/ResourceLoader.js, line 110 -
Load external Lang resources
Name Type Description filesArray callbackfunction -
staticwindow.PS.loader.loadText(files, callback, callbackForSingleFile)
source/components/ResourceLoader.js, line 81 -
Load external Text resources and pass file content back to callback function
Name Type Description filesArray callbackfunction callbackForSingleFilefunction