Ionic 3 input mask

Viewed 9510

What is the best way to mask an ion-input element? For example phone numbers... something like this:

<ion-input type="tel" placeholder="celular" name="celular"
 [(ngModel)]="phone_number" required
 mask="(**)*****-****" ></ion-input>
1 Answers
Related