Created
March 13, 2020 17:18
-
-
Save GuilhermeManzano/ac328502cc055b0539d73649eb0ad344 to your computer and use it in GitHub Desktop.
Validador de CPF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-header> | |
<ion-toolbar color="tertiary"> | |
<div class="headerTittle"> | |
<h1>CPF na Nota</h1> | |
</div> | |
</ion-toolbar> | |
<ion-toolbar> | |
<!-- Botão que ativará a função para testar o CPF --> | |
<div class="headerButton" (click)="testaCPF()"> | |
Inserir CPF | |
</div> | |
</ion-toolbar> | |
</ion-header> | |
<ion-content> | |
<!--Neste campo, o usuário irá inserir o CPF, que será guardado na variável cpf--> | |
<ion-input class="cpf" placeholder="Insira o CPF" name="cpf" type="text" [(ngModel)]="cpf"></ion-input> | |
</ion-content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment