HTML Content
A versatile component for displaying formatted HTML content with customizable styling and dynamic content generation capabilities. It supports raw HTML, custom styling via CSS, and programmatically generated content through JavaScript functions. Ideal for rich text display, dynamic content rendering, and complex formatted layouts.
Extends: fieldComponent
Fields
Name | Code | Data Type | Description |
|---|---|---|---|
Label |
| multi-locale | Optional label for the HTML content component |
Resource ID |
| text | Unique identifier for the HTML content component |
Style Classes |
| text | Additional CSS classes for custom styling |
Inline Style |
| text | Inline CSS styles to be applied to the component |
Width Class |
| text | Defines the width of the HTML content component |
Visibility |
| boolean | Controls the visibility of the HTML content component |
Value |
| text | The primary content or data to be rendered |
Height |
| text | Specifies the height of the HTML content container |
HTML Content Function |
| text | A JavaScript function that dynamically generates HTML content for the component |
Methods
Name | Description |
|---|---|
| Dynamically loads and renders HTML content using the specified function |
| Reloads the HTML content and triggers a component update |
| Handles view updates when underlying data changes |
Events
Name | Description |
|---|---|
| Triggered when the HTML content component is initially loaded and rendered |
| Triggered when the HTML content is clicked |