Skip to content
This repository has been archived by the owner on Oct 20, 2018. It is now read-only.

Clear the interval when there is a new config and the loop is set to false #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tombuyse
Copy link

Was unable to update the loop property of the carousel.
So implemented a clearInterval when the loop property is set to false.

@maxreichel123
Copy link

How to get this working? I added your lines of code to the ngOnChanges method. How can i toggle the loop now?

@tombuyse
Copy link
Author

@noobi567 You can toggle it by changing the input carousel data, the change is then triggered on ngOnChanges.

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

Successfully merging this pull request may close these issues.

None yet

3 participants