vsn-if
vsn-if toggles whether an element exists in the DOM based on an expression.
Basic usage
<div class="panel" vsn-if="open"></div>
behavior .panel {
open: false;
}
When open is false, the element is removed from the DOM.
vsn-if vs vsn-show
vsn-ifremoves/adds the element.vsn-showtoggles visibility only.