04.07.2019 Views

frontend-developer-1

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Customize and Create JavaScript<br />

HELPFUL LINKS:<br />

• https://www.mage2.tv/content/javascript/<strong>frontend</strong>-uicomponents/javascript-uicomponent-imports/<br />

exports<br />

Exports sends an observable value to another module. It is the opposite of import.<br />

links<br />

This is a two-way binding system. If the value is updated on either component (the<br />

host or the linked component), both components’ value will likewise be updated.<br />

HELPFUL LINKS:<br />

• https://www.mage2.tv/content/javascript/<strong>frontend</strong>-uicomponents/javascript-uicomponent-links/<br />

6.8 UNDERSTANDING STRING TEMPLATES<br />

Demonstrate an understanding of ES5 string literal templates like<br />

${$.provider}. What does $. inside of ${} resolve to?<br />

${} evaluates the expression inside the curly braces. In ES5, this would typically be<br />

within backticks. However, because Magento has a system in place to process them<br />

Copyright © 2018, SwiftOtter, Inc.<br />

100

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!