Reputation: 311
I have a range slider that needs to be disabled. I was not able to find anything on the ionic docs. Any help would be appreciated. Thank you.
.html
<ion-item>
<ion-range [(ngModel)]="singleValue" color="danger" pin="true" snaps="true" ></ion-range>
</ion-item>
Upvotes: 1
Views: 1255
Reputation: 222722
You can set disabled= true;
<ion-range disabled="true" [(ngModel)]="singleValue" color="danger" pin="true" snaps="true" ></ion-range>
Upvotes: 1