Skip to content

Modernize camera APIs #1475

@jacomyal

Description

@jacomyal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpostponedThis will be handled later, in a furter version.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions