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