Module: ui_setup

Members

(inner) currentPg

Global variable that records current page number of tutorial Used for funtions openPopup() closePopup() and pgAtoB()
Source:

Methods

(static) add_input_bar()

Generates a new input bar using the DOM I tried using HTML to generate the first one but ran into inconsistent spacing issue I couldn't figure out, so this will be used to generate all for consistency's sake
Source:

(static) bind_plus_minus()

binds the plus/minus buttons in the running input page
Source:

(static) htmlSetUp()

moved basic set up from index.html and combined into one function
Source:

(inner) toggleMenu(classname) → {boolean}

Toggle menu open or closed
Parameters:
Name Type Description
classname Object name of class associated with icon
Source:
Returns:
true if menu was opened, false if closed
Type
boolean