Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

system.bootLoader

krisdb2009 edited this page Oct 19, 2017 · 1 revision

Details

system.bootLoader is an object that has been generated by the webldr.js file at startup. This object contains details on the progress of the bootloader process.

Example Contents

system.bootLoader == {
    current: 5,
    loadList: [
        "credits.txt",
        "license.txt",
        "webdows/calc.js",
        "webdows/cmd.js",
        "webdows/explorer.js"
    ],
    loaded: true,
    total: 5
}

Object behavior during boot

current: Is the index count (starting at 1) for the loadList array of the currently loading file.
For example: current: 1, would be credits.txt file in the example.
This property will +1 ever time a file is loaded.

loadList: Is the list of all the files that will be loaded.
This list is populated at the start of the boot process.

loaded: Will return true if all the files have been loaded.

total: Is the length of the loadList array, and is set at the start of the boot process.


Webdows Documentation Wiki

system Object

explorer Object

Clone this wiki locally