Skip to content

Support for starting as 'cover' in container #3

@rgnyldz

Description

@rgnyldz

Currently the library is setting the object in 1x scale into the center.

Would it be possible to make an option for setting the image size and position into center and scale it up like background-size: cover.

My container is width:100% and height: 100vh; . My aim is to fill up the page with the zoomable image centered on the screen.

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