chore(interface): update componentOnReady() and overlay interface

This commit is contained in:
Adam Bradley
2018-05-25 13:43:06 -05:00
parent 373a97283f
commit 9559f5e42d
15 changed files with 44 additions and 36 deletions

View File

@ -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);
}