type | type of CSS framework to use - acceptable values are: 'bootstrap' or 'custom' | bootstrap |
id | ID of the auto injected preloader modal | preloader-modal |
autoInject | whether or not to auto-inject the preloader html into the page | true |
target | the html target selector | #preloader-modal |
progressValueAttr | an attribute of the progress bar to set when progress is updated | aria-valuenow |
barProgressStyle | target css style to set as a percentage on the bar | width |
bar | target css style to set as a percentage on the bar | width |
label | html class of label in preloader - used to set the percentage | #preloader-modal .progress-label |
labelText | loading text format {0} will be replaced with the percent progress e.g. 30% | {0}% Complete |
autoClose | automatically close preloader by default - not supported if clickToClose is set to 'true' | true |
clickToClose | whether the user must click a button to close the modal when preloading is finished | false |
closeLabelText | default label text of click to close button | Continue |
title | title of preloader modal. Blank by default | |
debug | whether or not to enable logging to console | false |
disableVRModeUI | whether or not to disable VR Mode UI when preloading | true |
slowLoad | deliberately slow down the load progress by adding 2 second delays before updating progress - used to showcase loader on fast connections and should not be enabled in production | slowLoad |
doneLabelText | text to set on label when loading is complete | Done |