From 8adb0363e0148f2d759aba0189f770ea4412f4b7 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Mon, 8 Aug 2022 20:15:23 -0600 Subject: [PATCH] Better organization... a little --- docs/_docs/modding/menu-modules.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/_docs/modding/menu-modules.md b/docs/_docs/modding/menu-modules.md index 7f9c9c31..8f8c71ce 100644 --- a/docs/_docs/modding/menu-modules.md +++ b/docs/_docs/modding/menu-modules.md @@ -29,19 +29,28 @@ Methods indicated above with `()` in their name such as `enter()` are overridabl ## 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! +### Views & View Controller * `displayAsset()` * `prepViewController()` * `prepViewControllerWithArt()` -* `promptForInput()` * `displayArtAndPrepViewController()` * `setViewText()` * `getView()` * `updateCustomViewTextsWithFilter()` * `refreshPredefinedMciViewsByCode()` + +### Validation * `validateMCIByViewIds()` * `validateConfigFields()` + +### Date/Time Helpers +The following methods take a single input to specify style, defaulting to `short`: * `getDateFormat()` * `getTimeFormat()` * `getDateTimeFormat()` +### Misc +* `promptForInput()` + + > :information_source: Search the code for the above methods to see how they are used in the base system!