Skip to content
Advertisement

Tag: polymer-3.x

Conditional rendering in Polymer 3

I need to render different html based on a bool variables true or false value. For example in react I would do something like this in my return in the render function: Where I get two different output depending on the value of booleanValue. I tried in Polymer 3, and first declared my bool variable: I then try to use

Advertisement