mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +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