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

@ -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';