#salesforce
#trailhead
#salestraining
Lightning Web Components Basics
Create Lightning Web Components
Learning Objectives
After completing this unit, you'll be able to:
Describe the contents of each component file.
Create JavaScript methods for a Lightning web component.
Use Lifecycle Hooks in component JavaScript.
More Play Time
Say you want to build a data display element, independent of a specific object in Salesforce. A good example is the productCard component in the ebikes sample repo. Let's examine that card component, and build our own version from scratch so you can see how it evolves into a full-fledged Lightning web component. You'll quickly get the basics when you build up the parts of a component and explore more samples.
A component simply needs a folder and its files with the same name. They're automatically linked by name and location.
Смотрите видео Create Lightning Web Components | Lightning Web Components Basics онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Saurabh Infotech Solutions 04 Ноябрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 33,409 раз и оно понравилось 46 людям.