mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
docs(modal, popover): improve showBackdrop clarity (#25462)
This commit is contained in:
@ -166,6 +166,10 @@ export class Modal implements ComponentInterface, OverlayInterface {
|
||||
|
||||
/**
|
||||
* If `true`, a backdrop will be displayed behind the modal.
|
||||
* This property controls whether or not the backdrop
|
||||
* darkens the screen when the modal is presented.
|
||||
* It does not control whether or not the backdrop
|
||||
* is active or present in the DOM.
|
||||
*/
|
||||
@Prop() showBackdrop = true;
|
||||
|
||||
|
@ -128,6 +128,10 @@ export class Popover implements ComponentInterface, PopoverInterface {
|
||||
|
||||
/**
|
||||
* If `true`, a backdrop will be displayed behind the popover.
|
||||
* This property controls whether or not the backdrop
|
||||
* darkens the screen when the popover is presented.
|
||||
* It does not control whether or not the backdrop
|
||||
* is active or present in the DOM.
|
||||
*/
|
||||
@Prop() showBackdrop = true;
|
||||
|
||||
|
Reference in New Issue
Block a user