mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +08:00
feat(overlays): expose animation customization
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import { AnimationBuilder } from '../../interface';
|
||||
|
||||
export interface ActionSheetOptions {
|
||||
header?: string;
|
||||
@ -10,6 +11,9 @@ export interface ActionSheetOptions {
|
||||
mode?: string;
|
||||
keyboardClose?: boolean;
|
||||
id?: string;
|
||||
|
||||
enterAnimation?: AnimationBuilder;
|
||||
leaveAnimation?: AnimationBuilder;
|
||||
}
|
||||
|
||||
export interface ActionSheetButton {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { TextFieldTypes } from '../../interface';
|
||||
import { AnimationBuilder, TextFieldTypes } from '../../interface';
|
||||
|
||||
export interface AlertOptions {
|
||||
header?: string;
|
||||
@ -14,6 +14,9 @@ export interface AlertOptions {
|
||||
mode?: string;
|
||||
keyboardClose?: boolean;
|
||||
id?: string;
|
||||
|
||||
enterAnimation?: AnimationBuilder;
|
||||
leaveAnimation?: AnimationBuilder;
|
||||
}
|
||||
|
||||
export interface AlertInput {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { SpinnerTypes } from '../../interface';
|
||||
import { AnimationBuilder, SpinnerTypes } from '../../interface';
|
||||
|
||||
export interface LoadingOptions {
|
||||
spinner?: SpinnerTypes;
|
||||
@ -12,4 +12,7 @@ export interface LoadingOptions {
|
||||
mode?: string;
|
||||
keyboardClose?: boolean;
|
||||
id?: string;
|
||||
|
||||
enterAnimation?: AnimationBuilder;
|
||||
leaveAnimation?: AnimationBuilder;
|
||||
}
|
||||
|
@ -5,8 +5,6 @@ export interface ModalOptions<T extends ComponentRef = ComponentRef> {
|
||||
componentProps?: ComponentProps<T>;
|
||||
showBackdrop?: boolean;
|
||||
backdropDismiss?: boolean;
|
||||
enterAnimation?: AnimationBuilder;
|
||||
leaveAnimation?: AnimationBuilder;
|
||||
cssClass?: string | string[];
|
||||
delegate?: FrameworkDelegate;
|
||||
animated?: boolean;
|
||||
@ -14,4 +12,7 @@ export interface ModalOptions<T extends ComponentRef = ComponentRef> {
|
||||
mode?: string;
|
||||
keyboardClose?: boolean;
|
||||
id?: string;
|
||||
|
||||
enterAnimation?: AnimationBuilder;
|
||||
leaveAnimation?: AnimationBuilder;
|
||||
}
|
||||
|
@ -1,3 +1,4 @@
|
||||
import { AnimationBuilder } from '../../interface';
|
||||
|
||||
export interface PickerOptions {
|
||||
columns: PickerColumn[];
|
||||
@ -9,6 +10,9 @@ export interface PickerOptions {
|
||||
mode?: string;
|
||||
keyboardClose?: boolean;
|
||||
id?: string;
|
||||
|
||||
enterAnimation?: AnimationBuilder;
|
||||
leaveAnimation?: AnimationBuilder;
|
||||
}
|
||||
|
||||
export interface PickerButton {
|
||||
|
@ -6,8 +6,6 @@ export interface PopoverOptions<T extends ComponentRef = ComponentRef> {
|
||||
showBackdrop?: boolean;
|
||||
backdropDismiss?: boolean;
|
||||
translucent?: boolean;
|
||||
enterAnimation?: AnimationBuilder;
|
||||
leaveAnimation?: AnimationBuilder;
|
||||
cssClass?: string | string[];
|
||||
event?: Event;
|
||||
delegate?: FrameworkDelegate;
|
||||
@ -16,4 +14,7 @@ export interface PopoverOptions<T extends ComponentRef = ComponentRef> {
|
||||
mode?: string;
|
||||
keyboardClose?: boolean;
|
||||
id?: string;
|
||||
|
||||
enterAnimation?: AnimationBuilder;
|
||||
leaveAnimation?: AnimationBuilder;
|
||||
}
|
||||
|
@ -8,11 +8,12 @@ export interface ToastOptions {
|
||||
closeButtonText?: string;
|
||||
position?: 'top' | 'bottom' | 'middle';
|
||||
translucent?: boolean;
|
||||
enterAnimation?: AnimationBuilder;
|
||||
leaveAnimation?: AnimationBuilder;
|
||||
animated?: boolean;
|
||||
|
||||
mode?: string;
|
||||
keyboardClose?: boolean;
|
||||
id?: string;
|
||||
|
||||
enterAnimation?: AnimationBuilder;
|
||||
leaveAnimation?: AnimationBuilder;
|
||||
}
|
||||
|
Reference in New Issue
Block a user