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

@ -21,17 +21,17 @@ export class Backdrop implements ComponentInterface {
@Prop({ context: 'document' }) doc!: Document;
/**
* If `true`, the backdrop will be visible. Defaults to `true`.
* If `true`, the backdrop will be visible.
*/
@Prop() visible = true;
/**
* If `true`, the backdrop will can be clicked and will emit the `ionBackdropTap` event. Defaults to `true`.
* If `true`, the backdrop will can be clicked and will emit the `ionBackdropTap` event.
*/
@Prop() tappable = true;
/**
* If `true`, the backdrop will stop propagation on tap. Defaults to `true`.
* If `true`, the backdrop will stop propagation on tap.
*/
@Prop() stopPropagation = true;

View File

@ -8,18 +8,18 @@ Backdrops are full screen components that overlay other components. They are use
## Properties
| Property | Attribute | Description | Type |
| ----------------- | ------------------ | --------------------------------------------------------------------------------------------------------- | --------- |
| `stopPropagation` | `stop-propagation` | If `true`, the backdrop will stop propagation on tap. Defaults to `true`. | `boolean` |
| `tappable` | `tappable` | If `true`, the backdrop will can be clicked and will emit the `ionBackdropTap` event. Defaults to `true`. | `boolean` |
| `visible` | `visible` | If `true`, the backdrop will be visible. Defaults to `true`. | `boolean` |
| Property | Attribute | Description | Type | Default |
| ----------------- | ------------------ | ------------------------------------------------------------------------------------- | --------- | ------- |
| `stopPropagation` | `stop-propagation` | If `true`, the backdrop will stop propagation on tap. | `boolean` | `true` |
| `tappable` | `tappable` | If `true`, the backdrop will can be clicked and will emit the `ionBackdropTap` event. | `boolean` | `true` |
| `visible` | `visible` | If `true`, the backdrop will be visible. | `boolean` | `true` |
## Events
| Event | Detail | Description |
| ---------------- | ------ | ------------------------------------ |
| `ionBackdropTap` | | Emitted when the backdrop is tapped. |
| Event | Description | Detail |
| ---------------- | ------------------------------------ | ------ |
| `ionBackdropTap` | Emitted when the backdrop is tapped. | void |
----------------------------------------------