diff --git a/core/src/components.d.ts b/core/src/components.d.ts index 844887bb26..ee2a8c7bdc 100644 --- a/core/src/components.d.ts +++ b/core/src/components.d.ts @@ -5623,7 +5623,7 @@ declare namespace LocalJSX { */ "onDidDismiss"?: (event: IonModalCustomEvent) => void; /** - * Emitted after the modal has presented. Shorthand for ionModalWillDismiss. + * Emitted after the modal has presented. Shorthand for ionModalDidPresent. */ "onDidPresent"?: (event: IonModalCustomEvent) => void; /** diff --git a/core/src/components/modal/modal.tsx b/core/src/components/modal/modal.tsx index 06bca33b73..6332843018 100644 --- a/core/src/components/modal/modal.tsx +++ b/core/src/components/modal/modal.tsx @@ -306,7 +306,7 @@ export class Modal implements ComponentInterface, OverlayInterface { /** * Emitted after the modal has presented. - * Shorthand for ionModalWillDismiss. + * Shorthand for ionModalDidPresent. */ @Event({ eventName: 'didPresent' }) didPresentShorthand!: EventEmitter;