mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
refactor(overlays): enableBackdropDismiss => backdropDismiss
This commit is contained in:
@ -63,7 +63,7 @@ export class ActionSheet implements OverlayInterface {
|
||||
/**
|
||||
* If true, the action sheet will be dismissed when the backdrop is clicked. Defaults to `true`.
|
||||
*/
|
||||
@Prop() enableBackdropDismiss = true;
|
||||
@Prop() backdropDismiss = true;
|
||||
|
||||
/**
|
||||
* Title for the action sheet.
|
||||
@ -224,7 +224,7 @@ export class ActionSheet implements OverlayInterface {
|
||||
const buttons = allButtons.filter(b => b.role !== 'cancel');
|
||||
|
||||
return [
|
||||
<ion-backdrop tappable={this.enableBackdropDismiss}/>,
|
||||
<ion-backdrop tappable={this.backdropDismiss}/>,
|
||||
<div class="action-sheet-wrapper" role="dialog">
|
||||
<div class="action-sheet-container">
|
||||
<div class="action-sheet-group">
|
||||
|
||||
Reference in New Issue
Block a user