HTML Snippet
HTML Snippet is a component that displays content formatted using HTML. |
Public Variables (Properties)
[?]
The HTML Snippet component has the following basic properties and property groups that are common to all components:
Name, Advanced Properties, Container Properties, Styles, Preloader, Events, Bindings, Tooltip.
HTML Content
HTML content to be displayed by the component.
![]() | The following tag types should not be used in the HTML content component:
|
Variable Name: | htmlContent |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
htmlContent | String | HTML Content |
Use WYSIWYG Editor
The “What You See is What You Get” editor is a visual text editor which allows content to be manipulated directly in the component as formatted text, rather than as HTML code.
Variable Name: | useWysiwygEditor |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
useWysiwygEditor | Boolean | Use WYSIWYG Editor |
Scripts Allowed
Indicates that JavaScript can be executed when the HTML snippet is rendered.
Variable Name: | scriptsAllowed |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
scriptsAllowed | Boolean | Allow JavaScript to be executed when the HTML snippet is rendered. |
Generate Mouse Clicked Events
This flag indicates whether the component will generate Mouse Clicked events.
Variable Name: | generateMouseClicked |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
generateMouseClicked | Boolean | Generate Mouse Clicked Events |
Generate Mouse Double Clicked Events
This flag indicates whether the component will generate Mouse Double Clicked events.
Variable Name: | generateMouseDoubleClicked |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
generateMouseDoubleClicked | Boolean | Generate Mouse Double Clicked Events |
Generate Mouse Entered Events
This flag indicates whether the component will generate Mouse Entered events.
Variable Name: | generateMouseEntered |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
generateMouseEntered | Boolean | Generate Mouse Entered Events |
Generate Mouse Exited Events
This flag indicates whether the component will generate Mouse Exited events.
Variable Name: | generateMouseExited |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
generateMouseExited | Boolean | Generate Mouse Exited Events |
Generate Key Pressed Events
This flag indicates whether the component will generate Key Pressed events.
Variable Name: | generateKeyPressed |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
generateKeyPressed | Boolean | Generate Key Pressed Events |
Generate Key Released Events
This flag indicates whether the component will generate Key Released events.
Variable Name: | generateKeyReleased |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
generateKeyReleased | Boolean | Generate Key Released Events |
Public Events
[?]
Mouse Clicked
This event is fired when the user clicks within the component.
Event Name: | mouseClicked |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
name | String | Name of the clicked DOM model node. |
textContent | String | Text content of the clicked DOM model node. |
attributesList | String | JSON attributes list of the clicked DOM model node. |
value | String | Value of the clicked DOM model node. |
Mouse Double Clicked
This event is fired when the user double clicks within the component.
Event Name | mouseDoubleClicked |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
name | String | Name of the clicked DOM model node. |
textContent | String | Text content of the clicked DOM model node. |
attributesList | String | JSON attributes list of the clicked DOM model node. |
value | String | Value of the clicked DOM model node. |
Mouse Entered
This event is fired when the user hovers mouse cursor into the component.
Event Name | mouseEntered |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
name | String | Name of the clicked DOM model node. |
textContent | String | Text content of the clicked DOM model node. |
attributesList | String | JSON attributes list of the clicked DOM model node. |
value | String | Value of the clicked DOM model node. |
Mouse Exited
This event is fired when the user hovers mouse cursor out of the component.
Event Name | mouseExited |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
name | String | Name of the clicked DOM model node. |
textContent | String | Text content of the clicked DOM model node. |
attributesList | String | JSON attributes list of the clicked DOM model node. |
value | String | Value of the clicked DOM model node. |
Key Pressed
This event is fired when the user presses a key while the component is focused.
Event Name | keyPressed |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
name | String | Name of the DOM model node where cursor was located at key press. |
textContent | String | Text content of the DOM model node where cursor was located at key press. |
attributesList | String | JSON attributes list of the DOM model node where cursor was located at key press. |
value | String | Value of the DOM model node where cursor was located at key press. |
Key Released
This event is fired when the user releases a key while the component is focused.
Event Name | keyReleased |
Records: | 1 |
Record Format:
Field Name | Field Type | Field Description |
name | String | Name of the DOM model node where cursor was located at key release. |
textContent | String | Text content of the DOM model node where cursor was located at key release. |
attributesList | String | JSON attributes list of the DOM model node where cursor was located at key release. |
value | String | Value of the DOM model node where cursor was located at key release. |
Was this page helpful?