/** * A directive that, given a condition, chooses between two inputs: `ifTrue` and `ifFalse`. If * `ifFalse` is omitted (which is allowed), the false case defaults to `undefined`, which won't get * rendered at all inside of an HTML template. * * @category Directives * @example * * ```ts * import {html, defineElement, renderIf} from 'element-vir'; * * const MyElement = defineElement()({ * tagName: 'my-element', * render() { * return html` *