Skip to content

feat: modal animations regardless of the platform  #28499

Closed as not planned
@reslear

Description

@reslear

Prerequisites

Describe the Feature Request

for example to make md or ios animations regardless of the platform:

  1. solution - export default animations:
    refactor: exportable md animations for modal #28464
import { mdEnterModalAnimation, mdLeaveModalAnimation } from '@ionic/core'
<ion-modal :enter-animation="mdEnterModalAnimation" :leave-animation="mdLeaveModalAnimation" />
  1. add presets for attribute enter-animation and leave-animation:
//before 
((baseEl: any, opts?: any) => Animation)  undefined

// after 
((baseEl: any, opts?: any) => Animation)  'md' | 'ios'  undefined

Describe the Use Case

Describe Preferred Solution

No response

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions