Last active
March 13, 2020 17:21
-
-
Save GuilhermeManzano/320e68a30fbdeee4a19c2c83462f5fbd to your computer and use it in GitHub Desktop.
HTML de validação de CNPJ
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>CNPJ na Nota</h1> | |
</div> | |
</ion-toolbar> | |
<ion-toolbar> | |
<!-- Botão que ativará a função para testar o CNPJ --> | |
<div class="headerButton" (click)="testaCNPJ()"> | |
Inserir CNPJ | |
</div> | |
</ion-toolbar> | |
</ion-header> | |
<ion-content> | |
<!--Neste campo, o usuário irá inserir o CNPJ, que será guardado na variável cnpj--> | |
<ion-input class="cnpj" placeholder="Insira o CNPJ" name="cnpj" type="text" [(ngModel)]="cnpj"></ion-input> | |
</ion-content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment