I am implementing a page with 10 views that hide/show based on a variable called currentView.
I have it working using the ${} syntax and my own hide/show classes...
<style>
.show { display: block; }
.hide { display: none; }
</style>
<div class="view0 ${currentView == 0 ? 'show' : 'hide'}"></div>
<div class="view1 ${currentView == 1 ? 'show' : 'hide'}"></div>
<div class="view2 ${currentView == 2 ? 'show' : 'hide'}"></div>
<div class="view3 ${currentView == 3 ? 'show' : 'hide'}"></div>
<div class="view4 ${currentView == 4 ? 'show' : 'hide'}"></div>
<div class="view5 ${currentView == 5 ? 'show' : 'hide'}"></div>
<div class="view6 ${currentView == 6 ? 'show' : 'hide'}"></div>
<div class="view7 ${currentView == 7 ? 'show' : 'hide'}"></div>
<div class="view8 ${currentView == 8 ? 'show' : 'hide'}"></div>
<div class="view9 ${currentView == 9 ? 'show' : 'hide'}"></div>
...but I was wondering if there is a simple way to accomplish the same thing using if.bind?