chore(): update to stencil 0.7.20

This commit is contained in:
Manu Mtz.-Almeida
2018-04-10 19:16:32 +02:00
parent 5c91101949
commit 81dc67dda4
18 changed files with 279 additions and 404 deletions

View File

@ -9,20 +9,17 @@ export class ActionSheetController implements OverlayController {
private actionSheets = new Map<number, HTMLIonActionSheetElement>();
@Listen('body:ionActionSheetWillPresent')
protected actionSheetWillPresent(ev: any) {
this.actionSheets.set(ev.target.overlayId, ev.target);
}
@Listen('body:ionActionSheetWillDismiss')
@Listen('body:ionActionSheetDidUnload')
protected actionSheetWillDismiss(ev: any) {
this.actionSheets.delete(ev.target.overlayId);
}
@Listen('body:keyup.escape')
protected escapeKeyUp() {
removeLastOverlay(this.actionSheets);