diff --git a/README.md b/README.md index 21456e0..a21daa4 100644 --- a/README.md +++ b/README.md @@ -183,11 +183,13 @@ All objects sent between the frontend and backend will follow this format. { setting_name: "text field" type: "text" + advanced: True current_value: "current value of seting" }, { setting_name: "radio button" type: "radio" + advanced: True current_value: "option 1" radio_values: [ "option 1", @@ -198,6 +200,7 @@ All objects sent between the frontend and backend will follow this format. { setting_name: "check box" type: "check" + advanced: True current_value: ["option 1", "option 2"] radio_values: [ "option 1", @@ -208,14 +211,21 @@ All objects sent between the frontend and backend will follow this format. { setting_name: "enabled or disabled" type: "boolean" + advanced: True current_value: True }, { setting_name: "slider bar" type: "slider" + advanced: True current_value: 50.0 #Float min: -100.0 #Float max: 100.0 #Float + }, + { + setting_name: "button" + advanced: True + type: "button" } ] } @@ -262,6 +272,11 @@ All objects sent between the frontend and backend will follow this format. setting_name: "slider bar" type: "slider" new_value: 100.0 #Float + }, + { + setting_name: "button" + type: "button" + new_value: True } ] }