What should the custom widget’s widget.json descriptor contain for the imports attribute?

Given the example custom widget Javascript:

In order to employ the Cart view model, what should the custom widget’s widget.json descriptor contain for the imports attribute?
A. The imports attribute should contain the value "user" because the cart view model belongs to the user
B. The imports attribute is only valid for global widgets and is not relevant
C. The imports attribute can be empty because the Cart view model is global
D. The imports attribute should contain the value "cart"

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.