mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
fix(all): docs for all missing props
This commit is contained in:
committed by
Manu MA
parent
53305741a0
commit
a72fced6fe
@ -28,6 +28,8 @@ export class Toast implements ComponentInterface, OverlayInterface {
|
||||
|
||||
@Prop({ connect: 'ion-animation-controller' }) animationCtrl!: HTMLIonAnimationControllerElement;
|
||||
@Prop({ context: 'config' }) config!: Config;
|
||||
|
||||
/** @internal */
|
||||
@Prop() overlayIndex!: number;
|
||||
|
||||
/**
|
||||
@ -69,7 +71,7 @@ export class Toast implements ComponentInterface, OverlayInterface {
|
||||
@Prop() message?: string;
|
||||
|
||||
/**
|
||||
* If true, the keyboard will be automatically dismissed when the overlay is presented.
|
||||
* If `true`, the keyboard will be automatically dismissed when the overlay is presented.
|
||||
*/
|
||||
@Prop() keyboardClose = false;
|
||||
|
||||
@ -79,17 +81,17 @@ export class Toast implements ComponentInterface, OverlayInterface {
|
||||
@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. Defaults to `false`.
|
||||
*/
|
||||
@Prop() showCloseButton = false;
|
||||
|
||||
/**
|
||||
* If true, the toast will be translucent. Defaults to `false`.
|
||||
* If `true`, the toast will be translucent. Defaults to `false`.
|
||||
*/
|
||||
@Prop() translucent = false;
|
||||
|
||||
/**
|
||||
* If true, the toast will animate. Defaults to `true`.
|
||||
* If `true`, the toast will animate. Defaults to `true`.
|
||||
*/
|
||||
@Prop() animated = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user