QuestionQ3

VerifiedBasic Lightning Web Component Development

Which two methods in the platformResourceLoader module are used to include third-party JavaScript and CSS in a Lightning web component?

Choose two
Explanation

lightning/platformResourceLoader provides loadScript to load a JavaScript file and loadStyle to load a CSS file from a static resource. Both return promises after their respective resources load.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!