Difference between revisions of "Settings Menu Item"

From MSX - Wiki
Jump to navigation Jump to search
Line 3: Line 3:
 
== Example ==
 
== Example ==
 
=== Screenshot ===
 
=== Screenshot ===
[[File:start_action.png|thumb|640px|none|Example Screenshot (Start Action)]]
+
[[File:settings_item.png|thumb|640px|none|Example Screenshot (Settings Menu Item)]]
  
 
=== Code ===
 
=== Code ===

Revision as of 10:22, 15 January 2021

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]