Preloader Options - GianlucaGuarini/jquery.html5loader GitHub Wiki
You can set the plug in options in this way:
$('#html5Loader').html5Loader({
option Name: 'setting'
})
preloaderType ( ‘circular’ default)
- ‘line’
- ‘circular’
- ‘big-counter’
soon i will add some other kinds of preloader type
getFilesToLoadJSON ( null default)
lineWidth ( 5 default)
you can set the line width
color ( “#ffffff” default)
you can set the color
glowColor ( null default)
you can add a golow color to everything
radius ( 40 default)
set radius of the circular preloader
preloadPage ( true default) REMOVED!
automatically detect every img on the page and load the src paths
fullScreen ( true default)
expand the canvas loader on the entire window
onComplete ( function () {} default)
you can add an event to the end of loading
onItemLoaded ( function (src,elm) {} default)
you can do something when every object is loaded;
@src is the path of the object loaded.
@elm is the tag loaded.
pathToFallbackGif ( preloaderFallback.gif’ default)
set the path for the fallback gif for the browsers that not support the canvas API
debugMode ( true default)
you can follow the plug in events on the javascript console