158
rated 0 times
[
160]
[
2]
/ answers: 1 / hits: 17600
/ 9 Years ago, mon, july 20, 2015, 12:00:00
Can someone please provide an example of proper implementation of dom-if
?
No example of proper usage is provided by the official documentation. (Sorry there is no direct link. Must use menu in upper left and select dom-if
).
Here is what I have so far. Obviously, it is not working.
<template>
...
<template is=dom-if if={{action}}=='Login'>
<!-- Also tried: if={{action=='Login'}} -->
<a href=#>Forgot password?</a>
</template>
...
</template>
More From » api