Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Para Revisão] - Capítulo 2 - Components - Badges #48

Open
wants to merge 11 commits into
base: readme-update
Choose a base branch
from
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
2.4 [Badges](chapters/02-componentes/2d-badges.md)
2.5 Buttons
2.6 Cards
2.7 Checkbox
2.7 [Checkbox](chapters/02-componentes/2g-checkbox.md)
2.8 Grid
2.9 Icons
2.10 Inputs
Expand Down
15 changes: 15 additions & 0 deletions chapters/02-componentes/2g-checkbox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Checkbox (caixa de seleção)

A checkbox é um componente de entrada que contém um valor booleano. Checkboxes no ionic não são diferentes do checkbox HTML<input>. No entanto, como outros componentes do Ionic, checkboxes possuem estilizações diferentes para cada plataforma. Para definir o valor padrão, use o atributo checked(verificado), e o atributo disabled(desativado) para desativar, impedindo o usuário de alterar o valor.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sempre usar "Ionic" com o "I" maiúsculo 😄


### Uso Básico

<ion-item>
<ion-label>Daenerys Targaryen</ion-label>
<ion-checkbox dark checked="true"></ion-checkbox>
</ion-item>

<ion-item>
<ion-label>Arya Stark</ion-label>
<ion-checkbox disabled="true"></ion-checkbox>
</ion-item>
2 changes: 1 addition & 1 deletion chapters/02-componentes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
2.4 [Badges](2c-badges.md)
2.5 > Buttons
2.6 > Cards
2.7 > Checkbox
2.7 [Checkbox](2g-checkbox.md)
2.8 > Grid
2.9 > Icons
2.10 > Inputs
Expand Down