Difference between revisions of "Settings Menu Item"

From MSX - Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
It is possible to add the application settings to your menu by setting the <code>type</code> property of a menu item to <code>"settings"</code>. This feature is available since version '''0.1.0'''. Please see following code example.
+
It is possible to add the application settings to your menu by setting the <code>type</code> property of a menu item to <code>"settings"</code>. This feature is available since version '''0.1.0'''.  
 +
Please see following example.
  
 
== Example ==
 
== Example ==

Latest revision as of 10:41, 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 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]