Question:
Describe what the "nothing" sentinel value does.
Author: John PencolaAnswer:
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 ratings)
1 answer(s) in total