Added viewPanel GUI property
This commit is contained in:
parent
697fa87566
commit
b7c3f7b9e1
2 changed files with 5 additions and 0 deletions
|
|
@ -53,6 +53,10 @@ Each form is described by a JSON object, with the following properties:
|
||||||
|
|
||||||
``schema`` - List of dictionaries. Each dictionary element describes a form component.
|
``schema`` - List of dictionaries. Each dictionary element describes a form component.
|
||||||
|
|
||||||
|
``viewPanel`` *(optional)* - Content to display to the right of the extension form. Either ``stream`` (default), ``gallery``, or ``settings``.
|
||||||
|
|
||||||
|
``emitOnResponse`` *(optional)* - OpenFlexure eV event to emit when a response is recieved from the extension (generally avoid unless you know you need this.)
|
||||||
|
|
||||||
Component level
|
Component level
|
||||||
+++++++++++++++
|
+++++++++++++++
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -248,6 +248,7 @@ def dynamic_form():
|
||||||
"isTask": False,
|
"isTask": False,
|
||||||
"route": "/location-from-title",
|
"route": "/location-from-title",
|
||||||
"emitOnResponse": "globalUpdateCaptures",
|
"emitOnResponse": "globalUpdateCaptures",
|
||||||
|
"viewPanel": "gallery",
|
||||||
"submitLabel": "Set path",
|
"submitLabel": "Set path",
|
||||||
"schema": [
|
"schema": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue