default if property undefined or null
markreg opened this issue · comments
Is it possible to have a default formatter like so:
<p class='votes' data-text='0 || votes'></p>
new interpolation feature will make this easier <p>{ votes || 0 }</p>
Tiny reactive template engine
markreg opened this issue · comments
Is it possible to have a default formatter like so:
<p class='votes' data-text='0 || votes'></p>
new interpolation feature will make this easier <p>{ votes || 0 }</p>