lock
Creates a button that, when pressed, will turn on DashBoard’s screen lock. The lock button will display a lock icon by default but this icon can be overridden by a card developer.
Syntax
<lock name="button-name" attributes />
Attributes
See General Attributes.
Attributes |
Values |
Restrictions |
Description |
name |
String |
|
Text to display on the button. Text will be rendered beside the lock icon. |
Example
<lock name="Lock Screen" left="25" top="25"/>
Figure 73 – Lock Button
When locked, the DashBoard UI will be darkened, with an unlock widget.
Figure 74 – Lock Screen Widget