V
V
vostotskiy2016-10-03 14:39:02
Angular
vostotskiy, 2016-10-03 14:39:02

How to bind value to md-slider Angular 2?

Hello. I'm new to Angular 2, I need to use an anchored slider on a model in a project.
I use Angular2-Webpack-starter with RC-6 version of Angular as my source distribution.
I found only 2 (!!!! fear and horror) ready-made components, how to make your own there is no understanding yet.
One of them - Angular Material Slider is still raw, it does not have model support.
https://www.npmjs.com/package/@angular2-material/slider
Nevertheless, the task needs to be solved somehow.
If someone faced a similar problem, please share the solutions used.
The code of the slider itself has a value attribute, but changing it in the code does not change anything when rendering the finished component. A change in the aria-value attribute of the already rendered component was also noticed, but an attempt to insert it in the code with a specific value did not lead to anything.
I would appreciate any information

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question