Base class for all Pages and Content. Each element of a page shall be derived by this base class to assert this function set is always callable. Shall be treated as an interface creating instances of this class makes no sense.

Hierarchy (View Summary)

Constructors

Methods

  • adds the event listeners to the element that was set up with this.setup()

    Returns void

  • Executes code that depends on Pyodide fully loaded. Is called after Pyodide is ready and makes changes to the element created with this.setup() that can only be active or made after Pyodide is loaded. Is called by PageManager as soon as Pyodide is ready.

    Returns void

  • create the element that is added to the dom, if nothing is added to the dom return a DocumentFragment

    Returns Element | DocumentFragment

  • Is called after the Page is usable by PageManager and is the set-up of funny functionality but not necessary for function of page.

    Returns void

  • updates elements that need special color and are not effected by the bootstrap mode change

    Returns void

  • updates language specific strings

    Returns void