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

Comments

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

Open
tombuyse wants to merge 1 commit intosheikalthaf:masterfrom
tombuyse:master
Open

Clear the interval when there is a new config and the loop is set to false#79
tombuyse wants to merge 1 commit intosheikalthaf:masterfrom
tombuyse:master

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.

3 participants