Before using Polymer, I would like to check that you can do two-way data binding between a component and a javascript model. I read the data binding section on the website, but this point is still not clear.
A simple example: if I have an โaudioโ model with the โvolumeโ property in javascript, can I bind this volume property to a slider, for example?
I am more familiar with JavaFx, and it usually uses JavaFx code to do the trick: slider.valueProperty().bindBidirectional(audio.volumeProperty()) . After completion, any changes made by the user on the slider are reflected on the model, as well as any change made by the application on the model is reflected on the slider.
So now in javascript, if I have var audio = { volume: 75, ... } , is it possible to associate the volume property of this model, for example, with the value of the paper slider?
Bruno source share