fix(all): docs for all missing props

This commit is contained in:
Manu Mtz.-Almeida
2018-10-11 16:02:15 -05:00
committed by Manu MA
parent 53305741a0
commit a72fced6fe
119 changed files with 1026 additions and 657 deletions

View File

@ -40,12 +40,12 @@ export class Checkbox implements ComponentInterface {
@Prop() name: string = this.inputId;
/**
* If true, the checkbox is selected. Defaults to `false`.
* If `true`, the checkbox is selected. Defaults to `false`.
*/
@Prop({ mutable: true }) checked = false;
/**
* If true, the user cannot interact with the checkbox. Defaults to `false`.
* If `true`, the user cannot interact with the checkbox. Defaults to `false`.
*/
@Prop() disabled = false;

View File

@ -12,9 +12,9 @@ Checkboxes allow the selection of multiple options from a set of options. They a
| Property | Attribute | Description | Type |
| ---------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| `checked` | `checked` | If true, the checkbox is selected. Defaults to `false`. | `boolean` |
| `checked` | `checked` | If `true`, the checkbox is selected. Defaults to `false`. | `boolean` |
| `color` | `color` | The color to use from your application's color palette. Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`. For more information on colors, see [theming](/docs/theming/basics). | `Color` |
| `disabled` | `disabled` | If true, the user cannot interact with the checkbox. Defaults to `false`. | `boolean` |
| `disabled` | `disabled` | If `true`, the user cannot interact with the checkbox. Defaults to `false`. | `boolean` |
| `mode` | `mode` | The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`. | `Mode` |
| `name` | `name` | The name of the control, which is submitted with the form data. | `string` |
| `value` | `value` | The value of the checkbox. | `string` |