I would like to modify properties of a CSS class directly using knockout 'data-bind', without using JQuery css() method.
I have a component (bootstrap slider) on which I want to set the background color depending on the slider value. On his homepage, the author is doing it by calculating rgb components and then applying them with jquery css() method.
Can I data-bind properties inside a css class with knockout or must I stick with JQuery css ()?
Edit: I want to change the background-color of a part of the component, described in a css class, not the background of the whole component.