JS library_userinterface - gd-99/symbiogd GitHub Wiki
A user interface (i.e. a desktop environment).
Since 1.0alpha1.
Child of [Webos.Model](JS library_model).
Methods
This class hasn't any method.
Static methods
- [Webos.UserInterface](JS library_userinterface) Webos.UserInterface.get(name, data) : Get a user interface, given its data and name.
- String name The UI's name.
- Object data The UI's data.
- [Webos.UserInterface](JS library_userinterface) Webos.UserInterface.current() : Get the current user interface.
- Webos.UserInterface.load(name, callback) : Load an UI.
- String name The UI's name.
- [Webos.Callback](JS library_callback) callback The callback.
- Webos.UserInterface.getList(callback) : Get a list of all enabled user interfaces.
- [Webos.Callback](JS library_callback) callback The callback.
- Webos.UserInterface.getInstalled(callback) : Get a list of all installed UIs.
- [Webos.Callback](JS library_callback) callback The callback.
- Webos.UserInterface.showLoadingScreen() : Show the loading screen.
- Webos.UserInterface.setLoadingScreenText(msg) : Set the loading screen's text.
- String msg The text.
- Webos.UserInterface.hideLoadingScreen() : Hide the loading screen.
- Webos.UserInterface.writeConsole(msg) : Write a message in the console.
- String msg The message.
- Webos.UserInterface.clearConsole() : Clear the console.
- Webos.UserInterface.showConsole() : Show the console.
- Webos.UserInterface.hideConsole() : Hide the console.
- Webos.UserInterface.toggleConsole() : Toggle the console.
- Number undefined.id() : Get this booter's ID.
- String undefined.name() : Get the UI's name.
- jQuery undefined.element() : Get the element containing the whole UI.
- undefined.load(callback) : Load the UI.
- [Webos.Callback](JS library_callback) callback The callback.
- undefined.disableAutoLoad() : Disable autoload.
The function
finishLoading()
should be called. Deprecated: Useasync()
instead.. - Function undefined.async() : Make this booter asynchronous.
- Boolean undefined.loaded() : Check if this UI is loaded.
- undefined.unload() : Unload this UI.