The HtmlContent UI component provides the ability to process and render a layout structure or a Magento block directly inside a UI component configuration. Processing and rendering is executed on the server side.
The layout structure inside HtmlContent must contain only one top-level block. The top-level block may contain as many child blocks or containers as required. All blocks inside HtmlContent are integrated into the layout, so external blocks can refer to them and vice verse.
The HtmlContent UI component comprises the following files:
- JS component: app/code/Magento/Ui/view/base/web/js/form/components/html.js
- template: app/code/Magento/Ui/view/base/web/templates/content/content.html
||Sets custom classes to the component's DOM block.||Object||
||The path to the component’s JS constructor in terms of RequireJS.||String||
||HTML content to be displayed.||String||
||The path to the component’s
||Initial component's visibility. When set to "false", the