docs(modal): typo on didPresent description (#26925)

This commit is contained in:
Morgan Hunter
2023-03-07 16:31:20 -05:00
committed by GitHub
parent e9506c96bb
commit b38278ef94
2 changed files with 2 additions and 2 deletions

View File

@ -5623,7 +5623,7 @@ declare namespace LocalJSX {
*/
"onDidDismiss"?: (event: IonModalCustomEvent<OverlayEventDetail>) => void;
/**
* Emitted after the modal has presented. Shorthand for ionModalWillDismiss.
* Emitted after the modal has presented. Shorthand for ionModalDidPresent.
*/
"onDidPresent"?: (event: IonModalCustomEvent<void>) => void;
/**

View File

@ -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<void>;