HTML
Output HTML code.
Demo
Basic example
Attributes
Attribute | Type | Description |
---|---|---|
type | string | Type expected is htmlComponent. |
value | string | HTML content and/or CSS styles. |
See section Common attributes.
Extra attributes
Attribute | Type | Description |
---|---|---|
showBorder | boolean | Show component border |
url | string | URL where to get HTML content |
params | Object | Object of value pairs for URL query parameters, e.g. {search: "foo", page: 1} |
method | string | Method used for the HTTP request: GET or POST . Default is GET |
NOTE
Attributes url
, params
and method
are used only to retrieve rendered HTML content from server side.
When to use it
Use it to show anything that needs HTML code embedded with or without styles.