ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 38 - AD0-E720 discussion

Report
Export

An Adobe Commerce developer wants to initialize a JS component via Layout XML in custom reference block test. component. Which Layout XML instruction would be used to initialize this JS component?

A)

B)

C)

A.
Option A
Answers
A.
Option A
B.
Option B
Answers
B.
Option B
C.
Option C
Answers
C.
Option C
Suggested answer: A

Explanation:

Option A is the correct way to initialize a JS component via Layout XML in a custom reference block. The x-magento-init tag is used to specify the component name and the options. Option B is incorrect because it uses the data-mage-init attribute, which is only valid for HTML elements. Option C is incorrect because it uses the x-magento-component tag, which is deprecated and should not be used.

https://developer.adobe.com/commerce/frontend-core/

https://experienceleague.adobe.com/docs/certification/program/technical-certifications/ac/ac-expert/ac-e-fedeveloper0623.html?lang=en

asked 02/10/2024
Sergey Ushakov
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first