Main |
Name | Description | Values Accepted | Default |
Text | The text to display. This property accepts some special characters. | String constant or variable. | - |
ImageUrl | An icon for an iconized frame. | File name or a string constant or variable. | - |
Disabled | Determines if the element is responsive to user action. | Boolean variable or one of the constants true or false. | - |
TextAlign | The horizontal alignment of the text. Choose from LEFT, CENTER, or RIGHT, or use the menu to make a choice. | - |
OnPress | Action to invoke when the element is pressed. | JavaScript code for the action. | - |
OnRelease | Action to invoke when the element is released. | JavaScript code for the action. | - |
OnClick | Action to invoke when clicking the element. | JavaScript code for the action. | - |
Graphical Aspect |
Name | Description | Values Accepted | Default |
Visibility | The visibility of the element. | Boolean variable or one of the constants true or false. | - |
Display | The CSS display of the element. Example to try: "booleanVariable ? 'inline-block' : 'none'" (if the booleanVariable is true, display is set to inline-block; otherwise, it's set to none). This method provides a better way to show or hide the drawingPanel compared to using 'Visible,' as 'Visible' maintains the drawingPanel in the same position, creating a blank space. | True |
Width | Values are in default px and accept %. Example: 100% | - |
Height | Values are in default px and accept vh. Example: 5vh | - |
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 the name, style, and size of the font. | - |
Tooltip | Text displayed when the mouse is over the element. | A 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. | - |