mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(all): docs for all missing props
This commit is contained in:

committed by
Manu MA

parent
53305741a0
commit
a72fced6fe
@ -27,6 +27,12 @@ export class Toggle implements ComponentInterface {
|
||||
@State() activated = false;
|
||||
@State() keyFocus = false;
|
||||
|
||||
/**
|
||||
* The mode determines which platform styles to use.
|
||||
* Possible values are: `"ios"` or `"md"`.
|
||||
*/
|
||||
@Prop() mode!: Mode;
|
||||
|
||||
/**
|
||||
* The color to use from your application's color palette.
|
||||
* Default options are: `"primary"`, `"secondary"`, `"tertiary"`, `"success"`, `"warning"`, `"danger"`, `"light"`, `"medium"`, and `"dark"`.
|
||||
@ -34,24 +40,18 @@ export class Toggle implements ComponentInterface {
|
||||
*/
|
||||
@Prop() color?: Color;
|
||||
|
||||
/**
|
||||
* The mode determines which platform styles to use.
|
||||
* Possible values are: `"ios"` or `"md"`.
|
||||
*/
|
||||
@Prop() mode!: Mode;
|
||||
|
||||
/**
|
||||
* The name of the control, which is submitted with the form data.
|
||||
*/
|
||||
@Prop() name: string = this.inputId;
|
||||
|
||||
/**
|
||||
* If true, the toggle is selected. Defaults to `false`.
|
||||
* If `true`, the toggle is selected. Defaults to `false`.
|
||||
*/
|
||||
@Prop({ mutable: true }) checked = false;
|
||||
|
||||
/*
|
||||
* If true, the user cannot interact with the toggle. Default false.
|
||||
/**
|
||||
* If `true`, the user cannot interact with the toggle. Default false.
|
||||
*/
|
||||
@Prop() disabled = false;
|
||||
|
||||
|
Reference in New Issue
Block a user