Which 3 steps allow a costum SVG to be included in a lightning web - ProProfs Discuss
Topics
Products
Follow Us:

Which 3 steps allow a costum SVG to be included in a lightning web component?

A. Upload the SVG as a static resource.

B. Import the static resource and provide a getter for it in JavaScript.

C. Reference the getter in HTML template.

D. Refernce the import in the HTML template.

E. Import the SVG as a content asset file.

Asked by Red wane, Last updated: Aug 07, 2020

+ Answer
Request

1 Answer

adonis

Adonis

Answered Apr 05, 2020

A. Upload the SVG as a static resource.

B. Import the static resource and provide a getter for it in JavaScript.

C. Reference the getter in HTML template.

 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.