Loading tutorials
<template> and <slot>. LWC templates and slots are built on these two.2 min read<script> tags in a browser. It covers the fourth web standard LWC builds on: ES modules.2 min read{name} from the previous chapters. It also assumes you are comfortable with JavaScript classes and getters.2 min read{expression} binding reads class fields. Here you will use template directives to show or hide markup and to repeat it for each item in an array.2 min read@api public properties pass data down from a parent to a child, and that you have used addEventListener in the browser. Here you will learn the other direction: how a child component tells its parent that something happened.2 min read@api properties pass data into a child, and that you know the basics of shadow DOM and the <slot> element. Properties pass values. Slots pass markup.2 min read@api properties, and CustomEvent. Base components are the ready-made components that ship with Salesforce. You use them the same way you use your own components.2 min read