Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize camera APIs #1475

Open
jacomyal opened this issue Oct 7, 2024 · 0 comments
Open

Modernize camera APIs #1475

jacomyal opened this issue Oct 7, 2024 · 0 comments
Labels
enhancement postponed This will be handled later, in a furter version.
Milestone

Comments

@jacomyal
Copy link
Owner

jacomyal commented Oct 7, 2024

There are some oldies in the camera APIs, such as:

  • optional callbacks, but outside the options object, for the animation methods
  • weird old-school polymorphisms (like factorOrOptions?: number | (Partial<AnimateOptions> & { factor?: number }) for animatedUnzoom and animatedZoom)
  • weird methods namins (isAnimated, unzoom things...)

For the v4, it might be nice to go upgrade these APIs, so that they feel a bit more modern.

@jacomyal jacomyal added enhancement postponed This will be handled later, in a furter version. labels Oct 7, 2024
@jacomyal jacomyal added this to the v4 milestone Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement postponed This will be handled later, in a furter version.
Projects
None yet
Development

No branches or pull requests

1 participant