mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
ion-picker-controller
Methods
create(opts: PickerOptions) => Promise<HTMLIonPickerElement>
Create a picker overlay with picker options.
Parameters
| Name | Type | Description |
|---|---|---|
opts |
PickerOptions |
Returns
Type: Promise<HTMLIonPickerElement>
dismiss(data?: any, role?: string | undefined, id?: string | undefined) => Promise<boolean>
Dismiss the open picker overlay.
Parameters
| Name | Type | Description |
|---|---|---|
data |
any |
|
role |
string | undefined |
|
id |
string | undefined |
Returns
Type: Promise<boolean>
getTop() => Promise<HTMLIonPickerElement | undefined>
Get the most recently opened picker overlay.
Returns
Type: Promise<HTMLIonPickerElement | undefined>
Built with StencilJS