mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +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:
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user