Deprecated use class="{{ binding }}"
in your HTML instead. It will also
work on a <polymer-element>
.
Bind a CSS class to the observable object
and property path
.
@deprecated
PathObserver bindCssClass(Element element, String className,
Observable object, String path) {
callback(value) {
updateCssClass(element, className, value);
}
var obs = new PathObserver(object, path);
callback(obs.open(callback));
return obs;
}