Skip to content
This repository was archived by the owner on Jan 29, 2022. It is now read-only.
This repository was archived by the owner on Jan 29, 2022. It is now read-only.

[feat]: slide through multiple images  #21

@SimonGolms

Description

@SimonGolms

Feature Request

Ionic version:

[x] 4.x

Describe the Feature Request
When I tap on the image, it opens up the full-screen image one at a time. Let's say there is a gallery and I want to slide through multiple images when it is in the full-screen mode.

Describe Preferred Solution
The component recognizes the other ion-img-viewer elements on the side and shows the opportunity to slide to them.

Describe Alternatives
Provide an array to the property of src and slide to all of the images.

Related Code

<ion-img-viewer src="['image1', 'image2', 'image3]" activeIndex="0">

or

<ion-img-viewer src="image1">
<ion-img-viewer src="image2">

Additional Context
Alternative component: https://fivethree-team.github.io/ionic-4-components/gallery

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions