mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
chore(interface): update componentOnReady() and overlay interface
This commit is contained in:
@ -32,7 +32,7 @@ export class PickerController implements OverlayController {
|
||||
* Create a picker overlay with picker options.
|
||||
*/
|
||||
@Method()
|
||||
create(opts?: PickerOptions): Promise<HTMLIonPickerElement> {
|
||||
create(opts?: PickerOptions): Promise<HTMLIonPickerElement | null> {
|
||||
return createOverlay(this.doc.createElement('ion-picker'), opts);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user