How does the buttonClass directive in ember.js work? -
This code: {{bindAttr class = "buttonClass: hidden"}}
This Bind ATTR code does not appear to do anything, I can remove it altogether and the Todd app works just like before.
What exactly is the button's button instructions doing? There is no buttonclass property on Todos Controller.
You are right, it is not needed. Maybe this button was there to hide it, if it did not have all the work but because it's wrapped in now:
{{if hascompleted}} < P> It should be removed
Comments
Post a Comment