chore(): update to latest stencil

This commit is contained in:
Manu Mtz.-Almeida
2018-08-12 12:04:27 +02:00
parent 149039bd12
commit d856ecfbbf
101 changed files with 1098 additions and 8675 deletions

View File

@ -9,118 +9,24 @@ Toggles change the state of a single option. Toggles can be switched on or off b
## Properties
#### checked
boolean
If true, the toggle is selected. Defaults to `false`.
#### color
string
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).
#### disabled
boolean
Indicates that the user cannot interact with the control.
#### mode
string
The mode determines which platform styles to use.
Possible values are: `"ios"` or `"md"`.
#### name
string
The name of the control, which is submitted with the form data.
#### value
string
the value of the toggle.
## Attributes
#### checked
boolean
If true, the toggle is selected. Defaults to `false`.
#### color
string
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).
#### disabled
boolean
Indicates that the user cannot interact with the control.
#### mode
string
The mode determines which platform styles to use.
Possible values are: `"ios"` or `"md"`.
#### name
string
The name of the control, which is submitted with the form data.
#### value
string
the value of the toggle.
| Property | Attribute | Description | Type |
| ---------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- |
| `checked` | `checked` | If true, the toggle 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` | | `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 toggle. | `string` |
## Events
#### ionBlur
Emitted when the toggle loses focus.
#### ionChange
Emitted when the value property has changed.
#### ionFocus
Emitted when the toggle has focus.
#### ionStyle
Emitted when the styles change.
| Event | Description |
| ----------- | -------------------------------------------- |
| `ionBlur` | Emitted when the toggle loses focus. |
| `ionChange` | Emitted when the value property has changed. |
| `ionFocus` | Emitted when the toggle has focus. |
| `ionStyle` | Emitted when the styles change. |
## CSS Custom Properties