Closed crazyrich closed 6 years ago
Prettify is not converting the value as desired. I have followed this link : http://jsfiddle.net/tvn2ckj2/ to implement same functionality in angular 4.
Got the answer from : https://github.com/PhilippStein/ng2-ion-range-slider/issues/29 👍
<ion-range-slider type="double" [min]="minRange.format('x')" [max]="maxRange.format('x')" step = "1800000" from_shadow="false" to_shadow="false" keyboard="true" hide_min_max="false" hide_from_to="false" prettify_enabled = "true" prettify=" function (num) { return moment(num, 'x').format('H:mm') }" decorate_both="false" (onUpdate)="update(advancedSlider, $event)" (onChange)="update(advancedSlider, $event)" (onFinish)="finish(advancedSlider, $event)">
Prettify is not converting the value as desired. I have followed this link : http://jsfiddle.net/tvn2ckj2/ to implement same functionality in angular 4.