I want my code to show the range value (on the slider itself) while I am sliding the slider in my ionic app.
My slider code is:
<h5>Scale</h5>
<div class="item range">
<i>1</i>
<input type="range" id="inputRange" name="volume" min="1" max="10">
<i>10</i>
</div>
What changes are required in my code?
In ionic 3, I have achieved it like this.
<ion-badge>{{knobValues}}</ion-badge>
<ion-range min="1" max="100" step="1" [(ngModel)]="knobValues"></ion-range>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With