Which element can be used to pass HTML from a parent component to a child component? 03m 19s
D) <slot></slot>
:To pass HTML from a parent component to a child component, the child component needs to have a<slot></slot>element in its template. A slot is a placeholder for markup that a parent component passes into a component's body. Slots are part of the Web Component specification. The parent component can use the slot name or the default slot to specify which HTML content goes into which slot of the child component. The other options are not valid elements for passing HTML from parent to child. Reference:
Slots
Pass HTML Markup From Parent TO CHILD In Lightning Web Component
How parent component pass HTML to child component in Angular?
Deeann
6 months agoJosue
6 months agoNickolas
7 months agoLisbeth
7 months agoSvetlana
7 months agoRuthann
7 months agoJesusita
8 months agoShizue
8 months agoMarge
8 months agoKarl
8 months agoDoretha
8 months agoRegenia
8 months agoLavera
8 months agoLasandra
8 months agoLuz
8 months agoTasia
8 months agoMargurite
8 months agoNydia
2 years agoLashandra
2 years agoCandida
2 years agoIrene
2 years agoJesusita
2 years agoBelen
2 years agoPansy
2 years agoMarla
2 years agoLezlie
2 years agoLeana
2 years agoEnola
2 years agoElin
2 years agoLeoma
2 years ago