Skip to content

Is it possible to set startIndex instead of always 0? #141

Description

@lorenzhh

The carousel start at the index 0 per default. Is it possible to start with custom index?

CellWidth is 100%, it means there is one visible image at a time.

<carousel
[arrows]="true"
[cellWidth]="'100%'"
[images]="images"
[lightDOM]="true"
[objectFit]="'contain'"
[overflowCellsLimit]="3"
[transitionDuration]="300"
[transitionTimingFunction]="'linear'"

What should I do, in order to manage to show a different image as initial?

Thanks in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions