This repository was archived by the owner on Nov 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +72
-0
lines changed Expand file tree Collapse file tree 3 files changed +72
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,30 @@ A particular instance of a UI component is defined primarily by the following:
103
103
3 . [ Backend/PHP modifiers] ({{ page.baseurl }}/ui_comp_guide/concepts/ui_comp_modifier_concept.html).
104
104
4 . Configuration inside the JavaScript classes.
105
105
106
+ ## UI component used in the frontend design area
107
+
108
+ * Configured through layout XML.
109
+
110
+ * The ` jsLayout ` argument is used to specify information.
111
+
112
+ ``` xml
113
+ <block name =" block-name" template =" Magento_Module::path_to_template.phtml" >
114
+ <arguments >
115
+ <argument name =" jsLayout" xsi : type =" array" >
116
+ <item name =" components" xsi : type =" array" >
117
+ ...
118
+ </item >
119
+ </argument >
120
+ </arguments >
121
+ </block >
122
+ ```
123
+
124
+ ## UI component used in the Adminhtml area
125
+
126
+ * Configured through dedicated XML file (view/.../ui_component/[ ui_component_name.xml] )
127
+
128
+ * Included in layout XML with uiComponent tag
129
+
106
130
## Things to remember when working with UI components
107
131
108
132
** UI components have different settings**
Original file line number Diff line number Diff line change @@ -103,6 +103,30 @@ A particular instance of a UI component is defined primarily by the following:
103
103
3 . [ Backend/PHP modifiers] ({{ page.baseurl }}/ui_comp_guide/concepts/ui_comp_modifier_concept.html).
104
104
4 . Configuration inside the JavaScript classes.
105
105
106
+ ## UI component used in the frontend design area
107
+
108
+ * Configured through layout XML.
109
+
110
+ * The ` jsLayout ` argument is used to specify information.
111
+
112
+ ``` xml
113
+ <block name =" block-name" template =" Magento_Module::path_to_template.phtml" >
114
+ <arguments >
115
+ <argument name =" jsLayout" xsi : type =" array" >
116
+ <item name =" components" xsi : type =" array" >
117
+ ...
118
+ </item >
119
+ </argument >
120
+ </arguments >
121
+ </block >
122
+ ```
123
+
124
+ ## UI component used in the Adminhtml area
125
+
126
+ * Configured through dedicated XML file (view/.../ui_component/[ ui_component_name.xml] )
127
+
128
+ * Included in layout XML with uiComponent tag
129
+
106
130
## Things to remember when working with UI components
107
131
108
132
** UI components have different settings**
Original file line number Diff line number Diff line change @@ -105,6 +105,30 @@ A particular instance of a UI component is defined primarily by the following:
105
105
3 . [ Backend/PHP modifiers] ({{ page.baseurl }}/ui_comp_guide/concepts/ui_comp_modifier_concept.html).
106
106
4 . Configuration inside the JavaScript classes.
107
107
108
+ ## UI component used in the frontend design area
109
+
110
+ * Configured through layout XML.
111
+
112
+ * The ` jsLayout ` argument is used to specify information.
113
+
114
+ ``` xml
115
+ <block name =" block-name" template =" Magento_Module::path_to_template.phtml" >
116
+ <arguments >
117
+ <argument name =" jsLayout" xsi : type =" array" >
118
+ <item name =" components" xsi : type =" array" >
119
+ ...
120
+ </item >
121
+ </argument >
122
+ </arguments >
123
+ </block >
124
+ ```
125
+
126
+ ## UI component used in the Adminhtml area
127
+
128
+ * Configured through dedicated XML file (view/.../ui_component/[ ui_component_name.xml] )
129
+
130
+ * Included in layout XML with uiComponent tag
131
+
108
132
## Things to remember when working with UI components
109
133
110
134
** UI components have different settings**
You can’t perform that action at this time.
0 commit comments