So, I have a component with a className bindings like so
classNameBindings: ['isSpecial:special']
isSpecial: ( ->
return true if @get('a') is @get('b')
).property('a', 'b')
Now the problem is, the class gets added a fraction of second after the element is inserted in DOM, so there is a visual glitch, as special class changes quite a lot of style.
Anyway I can hook into willInsertElement or something similar and update the bindings before its inserted in the DOM?
Thanks!