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

@ -35,7 +35,6 @@ export class Toast implements ComponentInterface, OverlayInterface {
/**
* The mode determines which platform styles to use.
* Possible values are: `"ios"` or `"md"`.
*/
@Prop() mode!: Mode;
@ -84,22 +83,22 @@ export class Toast implements ComponentInterface, OverlayInterface {
@Prop() keyboardClose = false;
/**
* The position of the toast on the screen. Possible values: "top", "middle", "bottom".
* The position of the toast on the screen.
*/
@Prop() position: 'top' | 'bottom' | 'middle' = 'bottom';
/**
* If `true`, the close button will be displayed. Defaults to `false`.
* If `true`, the close button will be displayed.
*/
@Prop() showCloseButton = false;
/**
* If `true`, the toast will be translucent. Defaults to `false`.
* If `true`, the toast will be translucent.
*/
@Prop() translucent = false;
/**
* If `true`, the toast will animate. Defaults to `true`.
* If `true`, the toast will animate.
*/
@Prop() animated = true;