dom-if is a Polymer API component that allows different HTML template content to be rendered based on whether an inline condition is met.
dom-if
is a Polymer API component that allows different HTML template content to be rendered based on whether an inline condition is met.
Usage:
<template is="dom-if" if="{{condition}}">
Content if condition is true.
</template>