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
9 months agoJosue
10 months agoNickolas
10 months agoLisbeth
10 months agoSvetlana
10 months agoRuthann
10 months agoJesusita
11 months agoShizue
11 months agoMarge
11 months agoKarl
11 months agoDoretha
11 months agoRegenia
11 months agoLavera
11 months agoLasandra
11 months agoLuz
11 months agoTasia
11 months agoMargurite
11 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