ionic input hone mask code example
Example: ionic input mask
npm install br-mask --save -E
...
import { BrMaskerModule } from 'br-mask';
@NgModule({
imports: [
BrMaskerModule
],
})
...
<ion-input
type="text"
name="cpf"
placeholder="CPF"
[brmasker]="{mask:'000.000.000-00', len:14}">
</ion-input>