![]() |
Previous | Next |
The visible attribute specifies or retrieves the visibility for the control.
Syntax
elementID.visible
Possible Values
This attribute is a read/write Boolean.
Values | Description |
true | Default. The control is visible. |
false | The control is not visible. |
Remarks
This attribute is useful for hiding controls, for example when swapping a pause button for a play button.
If the value is false, the control is not visible and click events are passed to the control behind it. If the value is true, the control is visible and receives the click event itself.
See Also
Previous | Next |