From 6371e34d3eac6e621d8772ae1488bff0dc101732 Mon Sep 17 00:00:00 2001 From: Miles Malerba Date: Wed, 16 Nov 2016 16:08:58 -0800 Subject: [PATCH] fix(slider): emit change event after updating value accessor --- src/lib/slider/slider.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/slider/slider.ts b/src/lib/slider/slider.ts index e1713ea92d8d..21394dd3b481 100644 --- a/src/lib/slider/slider.ts +++ b/src/lib/slider/slider.ts @@ -336,9 +336,9 @@ export class MdSlider implements ControlValueAccessor { let event = new MdSliderChange(); event.source = this; event.value = this.value; - this.change.emit(event); - this._controlValueAccessorChangeFn(this.value); this._lastEmittedValue = this.value; + this._controlValueAccessorChangeFn(this.value); + this.change.emit(event); } }