{"action":"created","issue":{"url":"https://api.github.com/repos/stevenwanderski/bxslider-4/issues/350","labels_url":"https://api.github.com/repos/stevenwanderski/bxslider-4/issues/350/labels{/name}","comments_url":"https://api.github.com/repos/stevenwanderski/bxslider-4/issues/350/comments","events_url":"https://api.github.com/repos/stevenwanderski/bxslider-4/issues/350/events","html_url":"https://github.com/stevenwanderski/bxslider-4/pull/350","id":20743033,"number":350,"title":"Add ensureSlide public function,","user":{"login":"stocksr","id":243909,"avatar_url":"https://avatars.githubusercontent.com/u/243909?v=3","gravatar_id":"","url":"https://api.github.com/users/stocksr","html_url":"https://github.com/stocksr","followers_url":"https://api.github.com/users/stocksr/followers","following_url":"https://api.github.com/users/stocksr/following{/other_user}","gists_url":"https://api.github.com/users/stocksr/gists{/gist_id}","starred_url":"https://api.github.com/users/stocksr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stocksr/subscriptions","organizations_url":"https://api.github.com/users/stocksr/orgs","repos_url":"https://api.github.com/users/stocksr/repos","events_url":"https://api.github.com/users/stocksr/events{/privacy}","received_events_url":"https://api.github.com/users/stocksr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2013-10-09T13:49:40Z","updated_at":"2015-01-19T06:44:06Z","closed_at":"2015-01-19T05:35:51Z","pull_request":{"url":"https://api.github.com/repos/stevenwanderski/bxslider-4/pulls/350","html_url":"https://github.com/stevenwanderski/bxslider-4/pull/350","diff_url":"https://github.com/stevenwanderski/bxslider-4/pull/350.diff","patch_url":"https://github.com/stevenwanderski/bxslider-4/pull/350.patch"},"body":"if you pass it the index of an item it will ensure that the page with that item on it is visible, useful with a responsive carousel, when you want to slide to a specific item.\r\n\r\nMy use case was \r\n\r\n    var ds = $('#dateSlider').bxSlider({\r\n        speed: 400,\r\n        minSlides: 2,\r\n        maxSlides: 6,\r\n        slideWidth: 130,\r\n        slideMargin: 0,\r\n        pager: false,\r\n        infiniteLoop: false,\r\n        hideControlOnEnd: true  \r\n    });\r\n    \r\n    ds.ensureSlide($(\"#dateSlider li.selected\").index());"},"comment":{"url":"https://api.github.com/repos/stevenwanderski/bxslider-4/issues/comments/70452093","html_url":"https://github.com/stevenwanderski/bxslider-4/pull/350#issuecomment-70452093","issue_url":"https://api.github.com/repos/stevenwanderski/bxslider-4/issues/350","id":70452093,"user":{"login":"Tidal-Wave","id":4382867,"avatar_url":"https://avatars.githubusercontent.com/u/4382867?v=3","gravatar_id":"","url":"https://api.github.com/users/Tidal-Wave","html_url":"https://github.com/Tidal-Wave","followers_url":"https://api.github.com/users/Tidal-Wave/followers","following_url":"https://api.github.com/users/Tidal-Wave/following{/other_user}","gists_url":"https://api.github.com/users/Tidal-Wave/gists{/gist_id}","starred_url":"https://api.github.com/users/Tidal-Wave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tidal-Wave/subscriptions","organizations_url":"https://api.github.com/users/Tidal-Wave/orgs","repos_url":"https://api.github.com/users/Tidal-Wave/repos","events_url":"https://api.github.com/users/Tidal-Wave/events{/privacy}","received_events_url":"https://api.github.com/users/Tidal-Wave/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T06:44:06Z","updated_at":"2015-01-19T06:44:06Z","body":"Thanks for responding. I have been added to this project to maintain and update it, and as you can see its gotten a little out of hand. I will review this in more detail once I get some house cleaning done. "}}