tb / ng2-nouislider

Angular2 noUiSlider directive
http://tb.github.io/ng2-nouislider/
MIT License
184 stars 114 forks source link

Emit model change on 'slide' event #102

Closed flmg closed 7 years ago

flmg commented 7 years ago

The 'slide' event was not triggering the ControlValueAccessor update which resulted in the FormControl value of the range not being updated from outside the component when dragging a handle.

I bound the same logic than the 'set' event to the 'slide' event.