mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 11:17:19 +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:
@ -31,12 +31,12 @@ export class Alert implements ComponentInterface, OverlayInterface {
|
||||
|
||||
@Prop({ connect: 'ion-animation-controller' }) animationCtrl!: HTMLIonAnimationControllerElement;
|
||||
@Prop({ context: 'config' }) config!: Config;
|
||||
|
||||
/** @internal */
|
||||
@Prop() overlayIndex!: number;
|
||||
|
||||
/**
|
||||
* The mode determines which platform styles to use.
|
||||
* Possible values are: `"ios"` or `"md"`.
|
||||
*/
|
||||
@Prop() mode!: Mode;
|
||||
|
||||
@ -87,17 +87,17 @@ export class Alert implements ComponentInterface, OverlayInterface {
|
||||
@Prop({ mutable: true }) inputs: AlertInput[] = [];
|
||||
|
||||
/**
|
||||
* If `true`, the alert will be dismissed when the backdrop is clicked. Defaults to `true`.
|
||||
* If `true`, the alert will be dismissed when the backdrop is clicked.
|
||||
*/
|
||||
@Prop() backdropDismiss = true;
|
||||
|
||||
/**
|
||||
* If `true`, the alert will be translucent. Defaults to `false`.
|
||||
* If `true`, the alert will be translucent.
|
||||
*/
|
||||
@Prop() translucent = false;
|
||||
|
||||
/**
|
||||
* If `true`, the alert will animate. Defaults to `true`.
|
||||
* If `true`, the alert will animate.
|
||||
*/
|
||||
@Prop() animated = true;
|
||||
|
||||
|
Reference in New Issue
Block a user