-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
help wanteda good issue for the communitya good issue for the communitypackage: core@ionic/core package@ionic/core packagetype: feature requesta new feature, enhancement, or improvementa new feature, enhancement, or improvement
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
Export the TransitionOptions interface and helpful utils like getIonPageElement
Describe the Use Case
I would like to build my own page transition animation. The type of the navAnimation when configuring it via IonicModule.forRoot({ navAnimation: myPageAnimation }) is (baseEl: any, opts?: any) => Animation aka AnimationBuilder.
This is unfortunately not type-safe.
Describe Preferred Solution
I would love to have the same type safety as the default page transitions (e.g. the one for android) which use the TransitionOptions interface. Furthermore exposing utils like in my case specifically getIonPageElement would also be extremely helpful to not have to copy the code into my project.
Describe Alternatives
No response
Related Code
No response
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wanteda good issue for the communitya good issue for the communitypackage: core@ionic/core package@ionic/core packagetype: feature requesta new feature, enhancement, or improvementa new feature, enhancement, or improvement