mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
refactor(types): remove overlay attribute interfaces (#26181)
BREAKING CHANGE:
`ActionSheetAttributes`, `AlertAttributes`, `AlertTextareaAttributes`, `AlertInputAttributes`, `LoadingAttributes`, `ModalAttributes`, `PickerAttributes`, `PopoverAttributes`, and `ToastAttributes` have been removed. Developers should use `{ [key: string]: any }` instead.
This commit is contained in:
@ -10,7 +10,6 @@ import type {
|
||||
ComponentRef,
|
||||
FrameworkDelegate,
|
||||
Gesture,
|
||||
ModalAttributes,
|
||||
ModalBreakpointChangeEventDetail,
|
||||
ModalHandleBehavior,
|
||||
OverlayEventDetail,
|
||||
@ -202,7 +201,7 @@ export class Modal implements ComponentInterface, OverlayInterface {
|
||||
/**
|
||||
* Additional attributes to pass to the modal.
|
||||
*/
|
||||
@Prop() htmlAttributes?: ModalAttributes;
|
||||
@Prop() htmlAttributes?: { [key: string]: any };
|
||||
|
||||
/**
|
||||
* If `true`, the modal will open. If `false`, the modal will close.
|
||||
|
||||
Reference in New Issue
Block a user