mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 01:52:19 +08:00
@ -31,7 +31,7 @@ export class PickerController implements OverlayController {
|
||||
* Get the most recently opened picker overlay.
|
||||
*/
|
||||
@Method()
|
||||
async getTop(): Promise<HTMLIonPickerElement> {
|
||||
async getTop(): Promise<HTMLIonPickerElement | undefined> {
|
||||
return getOverlay(this.doc, 'ion-picker') as HTMLIonPickerElement;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user