Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lorenzhh opened this issue Aug 7, 2022 · 0 comments
Open

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

lorenzhh opened this issue Aug 7, 2022 · 0 comments

Comments

@lorenzhh
Copy link

lorenzhh commented Aug 7, 2022

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant