diff --git a/src/ion-range-slider.component.ts b/src/ion-range-slider.component.ts index cff6f1f..25c6e9c 100644 --- a/src/ion-range-slider.component.ts +++ b/src/ion-range-slider.component.ts @@ -86,8 +86,8 @@ export class IonRangeSliderComponent implements OnChanges{ jQuery(this.inputElem).data("ionRangeSlider").update(data); } - restore() { - jQuery(this.inputElem).data("ionRangeSlider").restore() + reset() { + jQuery(this.inputElem).data("ionRangeSlider").reset() } destroy() { @@ -196,4 +196,4 @@ export class IonRangeSliderCallback { to: number; // TO value (right handle in double type) to_percent: number; // TO value in percents to_value: number; // TO index in values array (if used) -} \ No newline at end of file +}