abstract UIPage(name)

new abstract UIPage(name)

If JavaScript had abstract classes this would have been one. This is just an extendable class for the UI.
Name Type Description
name String


  • EventEmitter


readonly icon :String

A single character; use UTF-8 emojis or something

readonly localizedName :String

Gives you the localized name of the page.

readonly name :String

Gives you the name of the page.

readonly showInViewsList :Boolean

Wether or not to show this page in the views list; If false you have to make sure yourself that the user can access this page


abstract close()

Is being called when open and is being closed.

abstract open()

Is being called when this page is opened.