Skip to content

Prefer props over library globals  #46

@andryak

Description

@andryak

The library defines a few globals including maxScale, minOpacity, scaleDuration and slideDuration.

It would be nice if the user could alter these values (e.g., setting maxScale to 1 to disable item scaling).

Please consider merging in MR #45 which removes such globals and replaces them with props with the same defaults. Since all these props are optional and their default values match the ones assigned to the globals we can guarantee backwards compatibility (thus the minor version bump).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions