1.7 KiB
1.7 KiB
overrides
Various parts of card configuration may conditionally be overridden (e.g. to hide the menu in fullscreen mode).
overrides:
- conditions:
[condition]
overrides:
[override]
Not all configuration parameters are overriddable, some because it doesn't make sense for that parameter to vary, and many because of the extra complexity of supporting overriding given the lack of compelling usecases (please request new overridable parameters here!).
Each entry under the top-level overrides configuration block should be a list
item, that has both of the following parameters set:
| Option | Default | Description |
|---|---|---|
conditions |
A list of conditions that must evaluate to true in order for the overrides to be applied. |
|
overrides |
Configuration overrides to be applied. Any configuration parameter matching Overrideable parameters can be overridden. |
Overrideable parameters
| Configuration Key | Overrideable |
|---|---|
cameras.* |
✅ |
cameras_global.* |
✅ |
dimensions.* |
✅ |
image.* |
✅ |
live.controls.*, live.display.*, live.microphone.*, live.show_image_during_load, live.zoomable |
✅ |
menu.* |
✅ |
view.* |
✅ |
| (Everything else) | ✖️ |