Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam CRT-450 All Questions

View all questions & answers for the CRT-450 exam

Exam CRT-450 topic 1 question 155 discussion

Actual exam question from Salesforce's CRT-450
Question #: 155
Topic #: 1
[All CRT-450 Questions]

Which three steps allow a custom SVG to be included in a Lightning web component? (Choose three.)

  • A. Upload the SVG as a static resource.
  • B. Reference the getter in the HTML template.
  • C. Import the SVG as a content asset file.
  • D. Import the static resource and provide a getter for it in JavaScript.
  • E. Reference the import in the HTML template.
Show Suggested Answer Hide Answer
Suggested Answer: ABD 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
edogaldo
1 year, 2 months ago
Selected Answer: ACE
According to: https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.use_svg_in_component and https://developer.salesforce.com/docs/platform/lwc/guide/create-content-assets.html to me it should be ACE
upvoted 2 times
...
_ApexPredator_
1 year, 11 months ago
Selected Answer: ABD
https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.use_svg_in_component
upvoted 3 times
hoan_phan
1 year, 7 months ago
According to the link, should be E, IMO
upvoted 2 times
gsori
1 year, 3 months ago
In the example provided in that link, the HTML template is referencing the field svgURL which is defined inside the JS component. So it's not referencing the import.
upvoted 1 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...