Skip to content

Commit

Permalink
fix(alert): onDidDismiss() is called
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed May 10, 2018
1 parent f7bcb68 commit 7b33039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/components/alert/alert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ export class Alert implements OverlayInterface {
*/
@Method()
onDidDismiss(callback?: (detail: OverlayEventDetail) => void): Promise<OverlayEventDetail> {
return eventMethod(this.el, 'ionAlerDidDismiss', callback);
return eventMethod(this.el, 'ionAlertDidDismiss', callback);
}

/**
Expand Down

0 comments on commit 7b33039

Please sign in to comment.