mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
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:
@ -20,7 +20,6 @@ export class FabButton implements ComponentInterface {
|
||||
|
||||
/**
|
||||
* The mode determines which platform styles to use.
|
||||
* Possible values are: `"ios"` or `"md"`.
|
||||
*/
|
||||
@Prop() mode!: Mode;
|
||||
|
||||
@ -32,12 +31,12 @@ export class FabButton implements ComponentInterface {
|
||||
@Prop() color?: Color;
|
||||
|
||||
/**
|
||||
* If `true`, the fab button will be show a close icon. Defaults to `false`.
|
||||
* If `true`, the fab button will be show a close icon.
|
||||
*/
|
||||
@Prop() activated = false;
|
||||
|
||||
/**
|
||||
* If `true`, the user cannot interact with the fab button. Defaults to `false`.
|
||||
* If `true`, the user cannot interact with the fab button.
|
||||
*/
|
||||
@Prop() disabled = false;
|
||||
|
||||
@ -59,14 +58,12 @@ export class FabButton implements ComponentInterface {
|
||||
@Prop() show = false;
|
||||
|
||||
/**
|
||||
* If `true`, the fab button will be translucent. Defaults to `false`.
|
||||
* If `true`, the fab button will be translucent.
|
||||
*/
|
||||
@Prop() translucent = false;
|
||||
|
||||
/**
|
||||
* The type of the button.
|
||||
* Possible values are: `"submit"`, `"reset"` and `"button"`.
|
||||
* Default value is: `"button"`
|
||||
*/
|
||||
@Prop() type: 'submit' | 'reset' | 'button' = 'button';
|
||||
|
||||
|
Reference in New Issue
Block a user