Class

UIPage

(abstract) UIPage(name)

Constructor

abstract new UIPage(name)

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

View Source mod/uipage.js, line 4

Extends

  • EventEmitter

Members

String

readonly icon

A single character; use UTF-8 emojis or something

View Source mod/uipage.js, line 45

String

readonly localizedName

Gives you the localized name of the page.

View Source mod/uipage.js, line 35

String

readonly name

Gives you the name of the page.

View Source mod/uipage.js, line 25

Boolean

readonly showInViewsList

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

View Source mod/uipage.js, line 55

Methods

abstract close()

Is being called when open and is being closed.

View Source mod/uipage.js, line 71

abstract open()

Is being called when this page is opened.

View Source mod/uipage.js, line 64