Update README.md
This commit is contained in:
parent
f2ca5f3c86
commit
80cfedc2da
15
README.md
15
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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user