ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 37 - AD0-E720 discussion

Report
Export

An Adobe Commerce developer wants to create a sticky widget.

How would the widget be initialized using the data-mage-init attribute?

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: B

Explanation:

Option B is the correct way to initialize a widget using the data-mage-init attribute. The attribute value should be a JSON object with the widget name as the key and the widget options as the value. Option A is incorrect because it uses a string instead of an object for the attribute value. Option C is incorrect because it uses a colon instead of a comma to separate the widget name and the options.

asked 02/10/2024
Mohamed Ismail
49 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first