reveal
Creates a button that, when clicked, causes elements within tab pages to become visible in the UI. When the button is pressed, DashBoard finds all components with the provided target ID(s) and checks to see if they are contained within a tab component or menugroup. If component is found, its tab page is brought to the foreground (made the active tab). If the specified component is buried deep within the UI (e.g. a tab within a tab), the device must supply multiple IDs to ‘reveal’ the desired component and the component’s parents.
Syntax
<reveal name="button-name", targetid="element1,element2,...">
</reveal>
Attributes
In addition to General Attributes, the following attributes may be specified to the <reveal> tag:
Attribute |
Values |
Restrictions |
Description |
name |
String |
|
The name to display on the button. |
targetid |
list of Strings separated by commas or semicolons. |
Each string in the value must refer to the id of another component. |
Specifies the element ids to show. |
Examples
The following example creates a button that reveals the menu with id “Key1Panel”
<reveal name="Key 1", targetid="Key1Panel"/>
The following example creates a button that reveals the menu “Key1Panel” and the tab “Key1ChromaTab”.
<reveal name="Chroma Key 1", targetid="Key1Panel,Key1ChromaTab"/>