javascript - How to add condition to EmberJS Input Helper -


how can build input <input class="{{unless isediting "hidden"}}" /> input helper of ember.js?

you can use parenthesis have helper within helper

{{input class=(unless isediting "hidden")}} 

Comments

Popular posts from this blog

java - Checkbox item adds to spinner -

php - mySQL problems with this code? -

C# MVC AngularJS -