SiMet
SiMet

Reputation: 612

How to bindAttr class when class is defined

In view I'd like to bind some class, but this element should also has defined other class. I look for some solution but don't find anything.

http://jsfiddle.net/eTcDu/16/

Does some know any solution of this problem?

Upvotes: 2

Views: 2922

Answers (1)

SiMet
SiMet

Reputation: 612

And again I found my solution after write question:

Append a dynamic class to a view having a static class

{{bindAttr class=":staticStyle view.someProperty:dynamicStyle}}

Upvotes: 8

Related Questions