Better organization... a little

This commit is contained in:
Bryan Ashby 2022-08-08 20:15:23 -06:00
parent 2cae154977
commit 8adb0363e0
No known key found for this signature in database
GPG Key ID: C2C1B501E4EFD994
1 changed files with 10 additions and 1 deletions

View File

@ -29,19 +29,28 @@ Methods indicated above with `()` in their name such as `enter()` are overridabl
## MenuModule Helper Methods ## MenuModule Helper Methods
Many helper methods exist and are available to code inheriting from `MenuModule`. Below are some examples. Poke around at [menu_module.js](../../../core/menu_module.js) to discover more! Many helper methods exist and are available to code inheriting from `MenuModule`. Below are some examples. Poke around at [menu_module.js](../../../core/menu_module.js) to discover more!
### Views & View Controller
* `displayAsset()` * `displayAsset()`
* `prepViewController()` * `prepViewController()`
* `prepViewControllerWithArt()` * `prepViewControllerWithArt()`
* `promptForInput()`
* `displayArtAndPrepViewController()` * `displayArtAndPrepViewController()`
* `setViewText()` * `setViewText()`
* `getView()` * `getView()`
* `updateCustomViewTextsWithFilter()` * `updateCustomViewTextsWithFilter()`
* `refreshPredefinedMciViewsByCode()` * `refreshPredefinedMciViewsByCode()`
### Validation
* `validateMCIByViewIds()` * `validateMCIByViewIds()`
* `validateConfigFields()` * `validateConfigFields()`
### Date/Time Helpers
The following methods take a single input to specify style, defaulting to `short`:
* `getDateFormat()` * `getDateFormat()`
* `getTimeFormat()` * `getTimeFormat()`
* `getDateTimeFormat()` * `getDateTimeFormat()`
### Misc
* `promptForInput()`
> :information_source: Search the code for the above methods to see how they are used in the base system! > :information_source: Search the code for the above methods to see how they are used in the base system!