Polymer expressions allow you to write ternary operators. There is also a tokenList filter that can be used specifically on the class attribute.
It seems to me that the following two render the same thing.
ternary operator:
<my-element class="{{ conditional ? 'some-style' : '' }}"></my-element>
tokenList filter:
<my-element class="{{ {'some-style': conditional} | tokenList }}"></my-element>
I see authors of Topeka using ternary operators exclusively for id attributes, reserving tokenList filters for class attributes. I was just wondering if it's okay to use ternary operators in all circumstances; or if there's any special circumstances in which one is favored over the other.