Difference between revisions of "Settings Menu Item"

From MSX - Wiki
Jump to navigation Jump to search
(Created page with "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...")
 
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 code example.
  
 
== Example ==
 
== Example ==

Revision as of 10:19, 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 (Start Action)

Code[edit]

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

Demo[edit]