Pregunta:
Describe what the "nothing" sentinel value does.
Autor: John PencolaRespuesta:
Nothing is a sentinel value that signals a ChildPart to fully clear its content. eg: const button = html`${ user.isAdmin ? html`<button>DELETE</button>` : nothing }`;
0 / 5 (0 calificaciones)
1 answer(s) in total