...
Controls are events that can be triggered through the Gumband UI. Common use cases for controls are rebooting an application that runs an exhibit or triggering some sort of test content or animation to help with debugging. Like statuses, controls are unique per exhibit and must be configured through the manifest. For example:
Code Block | ||
---|---|---|
| ||
{export const MANIFEST = { " manifest": { "statuses": [], "controls": [ { "id": "reload-frontend", "type": "Single", "display": "Reload Frontend", "order": 0 }, { "id": "toggle-game-mode", "type": "Single", "display": "Toggle Game Mode", "order": 1 } ], "settings": [] } } |
would configure controls for the following exhibit instance in the Gumband UI:
...