{"action":"created","issue":{"url":"https://api.github.com/repos/smashingboxes/OwlCarousel2/issues/989","labels_url":"https://api.github.com/repos/smashingboxes/OwlCarousel2/issues/989/labels{/name}","comments_url":"https://api.github.com/repos/smashingboxes/OwlCarousel2/issues/989/comments","events_url":"https://api.github.com/repos/smashingboxes/OwlCarousel2/issues/989/events","html_url":"https://github.com/smashingboxes/OwlCarousel2/issues/989","id":101462467,"number":989,"title":"Add new items with loop:true","user":{"login":"dbeja","id":498472,"avatar_url":"https://avatars.githubusercontent.com/u/498472?v=3","gravatar_id":"","url":"https://api.github.com/users/dbeja","html_url":"https://github.com/dbeja","followers_url":"https://api.github.com/users/dbeja/followers","following_url":"https://api.github.com/users/dbeja/following{/other_user}","gists_url":"https://api.github.com/users/dbeja/gists{/gist_id}","starred_url":"https://api.github.com/users/dbeja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbeja/subscriptions","organizations_url":"https://api.github.com/users/dbeja/orgs","repos_url":"https://api.github.com/users/dbeja/repos","events_url":"https://api.github.com/users/dbeja/events{/privacy}","received_events_url":"https://api.github.com/users/dbeja/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-17T16:44:11Z","updated_at":"2015-08-19T18:46:29Z","closed_at":"2015-08-19T15:45:23Z","body":"Hi,\r\n\r\nI was able to add dynamically new items with:\r\n```javascript\r\n_.$slideshow.trigger('add.owl.carousel', [$(html)]).trigger('refresh.owl.carousel'); \r\n```\r\n\r\nBut if the carousel has the option loop: true, the new items are added after the cloned items of the loop and the cloned items don't change, so everything gets messed up.\r\n\r\nAny workaround for this?"},"comment":{"url":"https://api.github.com/repos/smashingboxes/OwlCarousel2/issues/comments/132738904","html_url":"https://github.com/smashingboxes/OwlCarousel2/issues/989#issuecomment-132738904","issue_url":"https://api.github.com/repos/smashingboxes/OwlCarousel2/issues/989","id":132738904,"user":{"login":"dbeja","id":498472,"avatar_url":"https://avatars.githubusercontent.com/u/498472?v=3","gravatar_id":"","url":"https://api.github.com/users/dbeja","html_url":"https://github.com/dbeja","followers_url":"https://api.github.com/users/dbeja/followers","following_url":"https://api.github.com/users/dbeja/following{/other_user}","gists_url":"https://api.github.com/users/dbeja/gists{/gist_id}","starred_url":"https://api.github.com/users/dbeja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbeja/subscriptions","organizations_url":"https://api.github.com/users/dbeja/orgs","repos_url":"https://api.github.com/users/dbeja/repos","events_url":"https://api.github.com/users/dbeja/events{/privacy}","received_events_url":"https://api.github.com/users/dbeja/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T18:46:29Z","updated_at":"2015-08-19T18:46:29Z","body":"Great! Tested and it's working!\r\nI've also noticed that it's not needed anymore to add the div.owl-item for each item added.\r\n\r\nThanks!"}}