Even though you only list the attributes class, href, and src as attributes that can be updated with directives, style attribute also works. But only in IE9 and Chrome but does not work in IE8 (which I unfortunately still need to support).
It's failing on the current dist js dist line 406.
Even though you only list the attributes
class
,href
, andsrc
as attributes that can be updated with directives,style
attribute also works. But only in IE9 and Chrome but does not work in IE8 (which I unfortunately still need to support). It's failing on the current dist js dist line 406.See this fiddle: http://jsfiddle.net/8fRPG/ Is there any way to check for style and then add another level of support? Something along these lines:
I would think dynamic style is a pretty common use case. Changing classes just isn't flexible enough. Thoughts? Thanks.