nerdexam
Salesforce

CRT-450 · Question #152

Which three steps allow a custom SVG to be included in a Lightning web component? Choose 3 answers

The correct answer is 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 the HTML template. See the full explanation below for the reasoning.

Question

Which three steps allow a custom SVG to be included in a Lightning web component? Choose 3 answers

Options

  • AUpload the SVG as a static resource.
  • BImport the static resource and provide a getter for it in JavaScript.
  • CReference the getter in the HTML template.
  • DReference the import in the HTML template.
  • EImport the SVG as a content asset file.

How the community answered

(33 responses)
  • A
    82% (27)
  • D
    6% (2)
  • E
    12% (4)

Community Discussion

No community discussion yet for this question.

Full CRT-450 Practice