Settings Menu Item

From MSX - Wiki
Revision as of 11:22, 15 January 2021 by Benzac (talk | contribs) (→‎Screenshot)
Jump to navigation Jump to search

It is possible to add the application settings to your menu by setting the type property of a menu item to "settings". This feature is available since version 0.1.0. Please see following code example.

Example[edit]

Screenshot[edit]

Example Screenshot (Settings Menu Item)

Code[edit]

{
    "headline": "My Menu",
    "menu": [{
            "label": "My Menu Item"
        }, {
            "type": "separator"
        }, {
            "type": "settings"
        }]
}

Demo[edit]