Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (5 sloc) 295 Bytes


For conditional rendering, expressions can return falsy values (the exception is number 0) to clear previously rendered content. An expression with falsy value removes previous truthy value from the DOM and renders nothing.

html`<div>${isValid && ...}</div>`;
You can’t perform that action at this time.