docs(all): possible values are extracted by stencil (#16190)

* docs(all): possible values are extracted by stencil

* add defaults

* remove all hardcoded defaults

* update stencil
This commit is contained in:
Manu MA
2018-11-02 00:06:40 +01:00
committed by GitHub
parent 335acf96ee
commit ecc2c55370
151 changed files with 1363 additions and 1430 deletions

View File

@ -29,7 +29,6 @@ export class Toggle implements ComponentInterface {
/**
* The mode determines which platform styles to use.
* Possible values are: `"ios"` or `"md"`.
*/
@Prop() mode!: Mode;
@ -46,12 +45,12 @@ export class Toggle implements ComponentInterface {
@Prop() name: string = this.inputId;
/**
* If `true`, the toggle is selected. Defaults to `false`.
* If `true`, the toggle is selected.
*/
@Prop({ mutable: true }) checked = false;
/**
* If `true`, the user cannot interact with the toggle. Defaults to `false`.
* If `true`, the user cannot interact with the toggle.
*/
@Prop() disabled = false;
@ -61,7 +60,6 @@ export class Toggle implements ComponentInterface {
*
* The value of a toggle is analogous to the value of a `<input type="checkbox">`,
* it's only used when the toggle participates in a native `<form>`.
* Defaults to `on`.
*/
@Prop() value?: string | null = 'on';