refactor(overlays): enableBackdropDismiss => backdropDismiss

This commit is contained in:
Manu Mtz.-Almeida
2018-08-13 09:16:32 +02:00
parent 42ca99d111
commit bd5a4a0294
24 changed files with 156 additions and 157 deletions

View File

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