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

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

jquery - ReferenceError: CKEDITOR is not defined -

android - Go back to previous fragment -