mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
refactor(all): allow external imports
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import { Animation } from '../../../index';
|
||||
import { Animation } from '../../../interface';
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { Animation } from '../../../index';
|
||||
import { Animation } from '../../../interface';
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { Animation } from '../../../index';
|
||||
import { Animation } from '../../../interface';
|
||||
|
||||
/**
|
||||
* Md Modal Enter Animation
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { Animation } from '../../../index';
|
||||
import { Animation } from '../../../interface';
|
||||
|
||||
/**
|
||||
* Md Modal Leave Animation
|
||||
|
||||
12
core/src/components/modal/modal-interface.ts
Normal file
12
core/src/components/modal/modal-interface.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { AnimationBuilder, ComponentProps, ComponentRef, FrameworkDelegate } from '../../interface';
|
||||
|
||||
export interface ModalOptions {
|
||||
component: ComponentRef;
|
||||
componentProps?: ComponentProps;
|
||||
showBackdrop?: boolean;
|
||||
enableBackdropDismiss?: boolean;
|
||||
enterAnimation?: AnimationBuilder;
|
||||
leaveAnimation?: AnimationBuilder;
|
||||
cssClass?: string | string[];
|
||||
delegate?: FrameworkDelegate;
|
||||
}
|
||||
@ -1,5 +1,5 @@
|
||||
import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';
|
||||
import { Animation, AnimationBuilder, ComponentProps, ComponentRef, Config, FrameworkDelegate, Mode } from '../../index';
|
||||
import { Animation, AnimationBuilder, ComponentProps, ComponentRef, Config, FrameworkDelegate, Mode } from '../../interface';
|
||||
|
||||
import { createThemedClasses, getClassMap } from '../../utils/theme';
|
||||
import { BACKDROP, OverlayEventDetail, OverlayInterface, dismiss, eventMethod, present } from '../../utils/overlays';
|
||||
|
||||
Reference in New Issue
Block a user