mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
feat(select): update popover interface to match MD spec on desktop, allow multiple values in popover interface (#23474)
resolves #23657 resolves #15500 resolves #12310
This commit is contained in:
25
core/src/components.d.ts
vendored
25
core/src/components.d.ts
vendored
@ -208,6 +208,7 @@ export namespace Components {
|
||||
"translucent": boolean;
|
||||
}
|
||||
interface IonApp {
|
||||
"setFocus": (elements: HTMLElement[]) => Promise<void>;
|
||||
}
|
||||
interface IonAvatar {
|
||||
}
|
||||
@ -2358,19 +2359,23 @@ export namespace Components {
|
||||
}
|
||||
interface IonSelectPopover {
|
||||
/**
|
||||
* Header text for the popover
|
||||
* The header text of the popover
|
||||
*/
|
||||
"header"?: string;
|
||||
/**
|
||||
* Text for popover body
|
||||
* The text content of the popover body
|
||||
*/
|
||||
"message"?: string;
|
||||
/**
|
||||
* Array of options for the popover
|
||||
* If true, the select accepts multiple values
|
||||
*/
|
||||
"multiple"?: boolean;
|
||||
/**
|
||||
* An array of options for the popover
|
||||
*/
|
||||
"options": SelectPopoverOption[];
|
||||
/**
|
||||
* Subheader text for the popover
|
||||
* The subheader text of the popover
|
||||
*/
|
||||
"subHeader"?: string;
|
||||
}
|
||||
@ -5946,19 +5951,23 @@ declare namespace LocalJSX {
|
||||
}
|
||||
interface IonSelectPopover {
|
||||
/**
|
||||
* Header text for the popover
|
||||
* The header text of the popover
|
||||
*/
|
||||
"header"?: string;
|
||||
/**
|
||||
* Text for popover body
|
||||
* The text content of the popover body
|
||||
*/
|
||||
"message"?: string;
|
||||
/**
|
||||
* Array of options for the popover
|
||||
* If true, the select accepts multiple values
|
||||
*/
|
||||
"multiple"?: boolean;
|
||||
/**
|
||||
* An array of options for the popover
|
||||
*/
|
||||
"options"?: SelectPopoverOption[];
|
||||
/**
|
||||
* Subheader text for the popover
|
||||
* The subheader text of the popover
|
||||
*/
|
||||
"subHeader"?: string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user