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 -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -