mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
chore(): update to stencil 0.7.20
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user