Questions tagged [dom-if]

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>

Documentation

16 questions
10
votes
3 answers