mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 17:42:15 +08:00
feat: export TransitionOptions interface and getIonPageElement (#28140)
Issue number: resolves #28137 --------- Changes according to [this comment](https://github.com/ionic-team/ionic-framework/issues/28137#issuecomment-1710283096) ## Does this introduce a breaking change? - [ ] Yes - [x] No @liamdebeasi Sorry for replacing the previous PR. I only copied the main branch to my fork so I couldn't rebase properly. I am unfortunately not extremely familiar with Github. --------- Co-authored-by: Philipp Heuer <philipp@studysmarter.de> Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
import 'ionicons';
|
import 'ionicons';
|
||||||
|
|
||||||
export { createAnimation } from './utils/animation/animation';
|
export { createAnimation } from './utils/animation/animation';
|
||||||
|
export { getIonPageElement } from './utils/transition';
|
||||||
export { iosTransitionAnimation } from './utils/transition/ios.transition';
|
export { iosTransitionAnimation } from './utils/transition/ios.transition';
|
||||||
export { mdTransitionAnimation } from './utils/transition/md.transition';
|
export { mdTransitionAnimation } from './utils/transition/md.transition';
|
||||||
export { getTimeGivenProgression } from './utils/animation/cubic-bezier';
|
export { getTimeGivenProgression } from './utils/animation/cubic-bezier';
|
||||||
|
1
core/src/interface.d.ts
vendored
1
core/src/interface.d.ts
vendored
@ -43,6 +43,7 @@ export {
|
|||||||
AnimationKeyFrames,
|
AnimationKeyFrames,
|
||||||
AnimationLifecycle,
|
AnimationLifecycle,
|
||||||
} from './utils/animation/animation-interface';
|
} from './utils/animation/animation-interface';
|
||||||
|
export { TransitionOptions } from './utils/transition';
|
||||||
export { HTMLIonOverlayElement, OverlayController, OverlayInterface } from './utils/overlays-interface';
|
export { HTMLIonOverlayElement, OverlayController, OverlayInterface } from './utils/overlays-interface';
|
||||||
export { Config, config } from './global/config';
|
export { Config, config } from './global/config';
|
||||||
export { Gesture, GestureConfig, GestureDetail } from './utils/gesture';
|
export { Gesture, GestureConfig, GestureDetail } from './utils/gesture';
|
||||||
|
@ -55,6 +55,7 @@ export {
|
|||||||
getPlatforms,
|
getPlatforms,
|
||||||
isPlatform,
|
isPlatform,
|
||||||
getTimeGivenProgression,
|
getTimeGivenProgression,
|
||||||
|
getIonPageElement,
|
||||||
// TYPES
|
// TYPES
|
||||||
Animation,
|
Animation,
|
||||||
AnimationBuilder,
|
AnimationBuilder,
|
||||||
@ -129,4 +130,5 @@ export {
|
|||||||
ToastLayout,
|
ToastLayout,
|
||||||
ToggleChangeEventDetail,
|
ToggleChangeEventDetail,
|
||||||
ToggleCustomEvent,
|
ToggleCustomEvent,
|
||||||
|
TransitionOptions,
|
||||||
} from '@ionic/core';
|
} from '@ionic/core';
|
||||||
|
@ -9,6 +9,7 @@ export {
|
|||||||
mdTransitionAnimation,
|
mdTransitionAnimation,
|
||||||
IonicSlides,
|
IonicSlides,
|
||||||
getTimeGivenProgression,
|
getTimeGivenProgression,
|
||||||
|
getIonPageElement,
|
||||||
|
|
||||||
// TYPES
|
// TYPES
|
||||||
Animation,
|
Animation,
|
||||||
@ -83,6 +84,7 @@ export {
|
|||||||
ToastLayout,
|
ToastLayout,
|
||||||
ToggleChangeEventDetail,
|
ToggleChangeEventDetail,
|
||||||
ToggleCustomEvent,
|
ToggleCustomEvent,
|
||||||
|
TransitionOptions,
|
||||||
} from '@ionic/core/components';
|
} from '@ionic/core/components';
|
||||||
|
|
||||||
export * from './proxies';
|
export * from './proxies';
|
||||||
|
@ -47,6 +47,7 @@ export {
|
|||||||
isPlatform,
|
isPlatform,
|
||||||
menuController,
|
menuController,
|
||||||
getTimeGivenProgression,
|
getTimeGivenProgression,
|
||||||
|
getIonPageElement,
|
||||||
|
|
||||||
// TYPES
|
// TYPES
|
||||||
Animation,
|
Animation,
|
||||||
@ -123,4 +124,5 @@ export {
|
|||||||
ToastLayout,
|
ToastLayout,
|
||||||
ToggleChangeEventDetail,
|
ToggleChangeEventDetail,
|
||||||
ToggleCustomEvent,
|
ToggleCustomEvent,
|
||||||
|
TransitionOptions,
|
||||||
} from "@ionic/core/components";
|
} from "@ionic/core/components";
|
||||||
|
Reference in New Issue
Block a user