{"action":"created","issue":{"url":"https://api.github.com/repos/nolimits4web/Swiper/issues/1469","labels_url":"https://api.github.com/repos/nolimits4web/Swiper/issues/1469/labels{/name}","comments_url":"https://api.github.com/repos/nolimits4web/Swiper/issues/1469/comments","events_url":"https://api.github.com/repos/nolimits4web/Swiper/issues/1469/events","html_url":"https://github.com/nolimits4web/Swiper/issues/1469","id":111992876,"number":1469,"title":"Custom id attribute","user":{"login":"shactdeveloper","id":12840136,"avatar_url":"https://avatars.githubusercontent.com/u/12840136?v=3","gravatar_id":"","url":"https://api.github.com/users/shactdeveloper","html_url":"https://github.com/shactdeveloper","followers_url":"https://api.github.com/users/shactdeveloper/followers","following_url":"https://api.github.com/users/shactdeveloper/following{/other_user}","gists_url":"https://api.github.com/users/shactdeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/shactdeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shactdeveloper/subscriptions","organizations_url":"https://api.github.com/users/shactdeveloper/orgs","repos_url":"https://api.github.com/users/shactdeveloper/repos","events_url":"https://api.github.com/users/shactdeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/shactdeveloper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-18T00:41:58Z","updated_at":"2015-10-18T17:26:13Z","closed_at":null,"body":"Hi, my swiper is integrated with my database, so I need to store on each slide a custom field called 'id' that will be the id of the photo on my database. Is there a way to add custom fields to slides? I'd have to eventually remove that slide later by it's id and not the slide index (0,1,2,3....)\r\nIs there a workaround for this ?"},"comment":{"url":"https://api.github.com/repos/nolimits4web/Swiper/issues/comments/149031889","html_url":"https://github.com/nolimits4web/Swiper/issues/1469#issuecomment-149031889","issue_url":"https://api.github.com/repos/nolimits4web/Swiper/issues/1469","id":149031889,"user":{"login":"shactdeveloper","id":12840136,"avatar_url":"https://avatars.githubusercontent.com/u/12840136?v=3","gravatar_id":"","url":"https://api.github.com/users/shactdeveloper","html_url":"https://github.com/shactdeveloper","followers_url":"https://api.github.com/users/shactdeveloper/followers","following_url":"https://api.github.com/users/shactdeveloper/following{/other_user}","gists_url":"https://api.github.com/users/shactdeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/shactdeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shactdeveloper/subscriptions","organizations_url":"https://api.github.com/users/shactdeveloper/orgs","repos_url":"https://api.github.com/users/shactdeveloper/repos","events_url":"https://api.github.com/users/shactdeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/shactdeveloper/received_events","type":"User","site_admin":false},"created_at":"2015-10-18T17:26:13Z","updated_at":"2015-10-18T17:26:13Z","body":"Hello! thanks for your help! \r\nI couldn't understad what does loop refers to by reading the docs, could you give me some explanation?\r\nI'm using MeteorJS and building my slides like this:\r\nWhenever a document (from mongo) is sent down from the server to the client, I use appendSlide.\r\nWhen a document is removed, I must find out the index of that specific id on my array of slides, to remove the correct one. For that, im storing the relation between \"slide index\" and \"id from db\" on an array and I think it's pretty verbose... However, it's working. I would like to know if there is a shortcut"}}