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

Using toSlide and resetCarousel #28

Closed
dlewis2017 opened this issue Mar 16, 2018 · 3 comments
Closed

Using toSlide and resetCarousel #28

dlewis2017 opened this issue Mar 16, 2018 · 3 comments

Comments

@dlewis2017
Copy link

So I've been playing around with the ability to go from a 5 tile panel to (on click) a single panel carousel that pulls up the specific tile one clicked on.
I've been having trouble with this and the closest I've come to a solution is having 2 carousels and using *ngIf (true | false) depending on whether or not a tile was clicked.

The specific part I am now stuck at, is how to open the second, single panel, carousel to the tile that was clicked in the 5 panel carousel. I'm using toSlide and resetCarousel onIt of the single panel carousel but nothing seems to be working as I expect it to and the return statements of toSlide and resetCarousel return undefined (not sure if that's what they're supposed to return)

Any thoughts on how to achieve this?

Thanks,

-Angular version: 5
-Data Source of carousels: array of objects
-Not sure what other useful information to put

@dlewis2017 dlewis2017 changed the title Order to use toSlide and resetCarousel Using toSlide and resetCarousel Mar 16, 2018
@sheikalthaf
Copy link
Collaborator

@dlewis2017 Soon it will be added. I'm working on an update to customize everything

@dlewis2017
Copy link
Author

@sheikalthaf No rush at all but how soon will everything be up. Just trying to gauge if I should wait or continuing to pursue another solution I came up with.

Thanks,

@sheikalthaf
Copy link
Collaborator

@dlewis2017 Updated the carousel to latest version of angular. Now you can use template refernce to access the carousel feature. Thanks

This issue was closed.
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

2 participants