Loading tutorials
@api properties. The previous chapter explained why components need a way to accept markup. This chap3 min read@api property from a parent template, and use default and named slots. Here you will learn how to choose between a slot and a public property when a parent needs to give a child something.3 min read@api properties. It also assumes you know how default slots, named slots, and fallback content work, and that you are comfortable 4 min read@api properties and DOM events. Here you will learn how the child can look at what the parent put in its slots.3 min readslot attribute, and handle slotchange. Those topics are covered in earlier chapters. Here you will see how to pass slots through a wrapper component to a component nested inside4 min readslot attribute, and handle slotchange. It collects the mistakes that most often break slot-based components and the habits that prevent them.3 min read