string is an internal name for content displayed on this page, content is the associated content to the string
the id with wich the page div can be found in the dom
if initialization method was called this value changes to true
when the page is ready to show this value changes to true, is set by Page.initialize
when the page was added to the dom and all elements have their event listeners the page is set up and this value is true. Is set by Page.setup
is a reference to the element where the page content is displayed
is set to true if Page.afterPyodideLoaded was executed. Is used to determine if a page missed the first call by PageManager after pyodide was loaded
if the setup method was called this value changes to true
call addEventListeners on each Content that is registered in Page.content
Execute after custom code in initialize method of derived class
execute code that depends on Pyodide instance fully loaded
Execute after custom code in setup method of derived class
Execute before custom code in initialize method of derived class
returns true if the init can continue false otherwise
Execute before custom code in setup method of derived class
returns true if the setup can continue false otherwise
hides the page container by adding style=none
Page standard implementation of initialize, should be overwritten in child
If called forces the page manager to recall initialize on next page load, effects depend on implementation of Page.initialize
change the opacity of this page
{number} float value between 0 and 1
Page standard implementation of setup, usually should be overwritten in child
If a page has Easter-Eggs load and setup everything in this method. This method is called by the PageManager when the page finished loading to avoid loading "unnecessary" stuff before the page is functional
displays the page container by adding style=block
{boolean} slides in the page from the left (experimental)
slide the page out of view to the left (experimental)
Calls MathJax.typesetPromise() on this page
some containers need an update of the bs class that bootstrap displays them in the right color
call updateLang on each Content that is registered in Page.content
Page that shows some settings