A label is a basic interface element which can contain a single line of text.
The element also inherits properties from its parent.
The label element inherits properties from its parent, HTML view element.
Main | |
Name | Description | Values Accepted | Default |
Text | The text to display. For example, "t="+t.toFixed(1). It accepts some special characters. | String constant or variable. | - |
ImageUrl | An icon for an iconized frame. | File name or a string constant or variable. | - |
TextAlign | The horizontal alignment of the text. Choose from LEFT, CENTER, or RIGHT or use the menu to make a choice. | - |
OnClick | The action to invoke when the element is pressed. | JavaScript code to invoke for the action. | - |
Graphical Aspect | |
Name | Description | Values Accepted | Default |
Visibility | The visibility of the element. | Boolean variable or constants true or false. | - |
Display | Display style, can use "none", "inline-block", etc. | Boolean variable or constants true or false. | - |
Width | 400px or 100% | 400px |
Height | 300px or 90vh | 300px |
Background | The background color for the element. Use the editor provided or read about colors. | - |
Foreground | The color to use when drawing or writing in the element. Use the editor provided or read about colors. | - |
Font | The font used to display text in the element. Use the editor provided to select name, style, and size of the font. | - |
Tooltip | Text displayed when the mouse is over the element. | String constant or variable. | - |
ClassName | Class name. | String constant or variable. | - |
CSS | CSS. | String constant or variable. | - |
WhiteSpace | White space. | String constant or variable. | - |
Transform | Transform. | String constant or variable. | - |