Which option would initialize the JavaScript component?

An Adobe commerce developer wants to initialize a JavaScript component using a data attribute.

Which option would initialize the JavaScript component?
A . <nav data-mage-init=’ {”<component_name>”:{….}}’></nav>
B. <nav data-init=’ {<component_name>”; {…}}’></nav>
C. <nav data-bind=”{<component_name>”: {…}} ‘><?nav>

Answer: A

Latest AD0-E710 Practice Questions with 94 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments