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

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