I am using angular2 md-slider
in a component and I have a problem with the change event:
You can emit the value yourself.
When you change the slider via a method, also emit the change:
this.slider.value = 10;
this.slider.change.emit({ source: this.slider, value: this.slider.value });
I believe they fixed this, but this helps if you want the event emitted when the value is changed via a method as well.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.