new FirstPage(pageName)
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
pageName |
PageName | newLandingPage |
- Source:
Methods
load() → {Array.<boolean, string>}
will throw an error if loading fails, should always succeed
- Source:
Returns:
- Type
- Array.<boolean, string>
save(pageName)
saves the name of the page that is the first page that is displayed when simplipfy.org is accessed.
Names can be any key of pageManager.pages but some pages need further setup to make sense to display keep that in
mind. E.g. any Simplifier page only displays useful information if a circuit is selected first.
Parameters:
| Name | Type | Description |
|---|---|---|
pageName |
PageName |
- Source: