{"action":"created","issue":{"url":"https://api.github.com/repos/metafizzy/flickity/issues/411","repository_url":"https://api.github.com/repos/metafizzy/flickity","labels_url":"https://api.github.com/repos/metafizzy/flickity/issues/411/labels{/name}","comments_url":"https://api.github.com/repos/metafizzy/flickity/issues/411/comments","events_url":"https://api.github.com/repos/metafizzy/flickity/issues/411/events","html_url":"https://github.com/metafizzy/flickity/issues/411","id":164885834,"number":411,"title":"How to select cell via URL","user":{"login":"desandro","id":85566,"avatar_url":"https://avatars.githubusercontent.com/u/85566?v=3","gravatar_id":"","url":"https://api.github.com/users/desandro","html_url":"https://github.com/desandro","followers_url":"https://api.github.com/users/desandro/followers","following_url":"https://api.github.com/users/desandro/following{/other_user}","gists_url":"https://api.github.com/users/desandro/gists{/gist_id}","starred_url":"https://api.github.com/users/desandro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desandro/subscriptions","organizations_url":"https://api.github.com/users/desandro/orgs","repos_url":"https://api.github.com/users/desandro/repos","events_url":"https://api.github.com/users/desandro/events{/privacy}","received_events_url":"https://api.github.com/users/desandro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-11T17:01:25Z","updated_at":"2016-08-07T12:53:45Z","closed_at":null,"body":"Following up on https://github.com/metafizzy/flickity/issues/148#issuecomment-174656859 ...  [With the `selectCell` method](http://flickity.metafizzy.co/api.html#selectcell) in Flickity v2, you can now select a cell via a selector string\r\n\r\n``` js\r\n// jQuery\r\n$carousel.flickity( 'selectCell', '#cell3' )\r\n// vanilla JS\r\nflkty.selectCell('#cell3')\r\n```\r\n\r\nYou should be able to use in page links like `href=\"#cell3\"` to select cell. I'll have to create a demo to show how.\r\n\r\n+ Opening a page with `#slide2` in the URL hash should init the gallery with the matching cell\r\n+ Clicking on a link with `href=\"#slide2\"` should select the matching cell\r\n\r\n**Add a 👍  reaction** if you'd like to see this feature documented or added to Flickity."},"comment":{"url":"https://api.github.com/repos/metafizzy/flickity/issues/comments/238080854","html_url":"https://github.com/metafizzy/flickity/issues/411#issuecomment-238080854","issue_url":"https://api.github.com/repos/metafizzy/flickity/issues/411","id":238080854,"user":{"login":"amdad","id":10062429,"avatar_url":"https://avatars.githubusercontent.com/u/10062429?v=3","gravatar_id":"","url":"https://api.github.com/users/amdad","html_url":"https://github.com/amdad","followers_url":"https://api.github.com/users/amdad/followers","following_url":"https://api.github.com/users/amdad/following{/other_user}","gists_url":"https://api.github.com/users/amdad/gists{/gist_id}","starred_url":"https://api.github.com/users/amdad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amdad/subscriptions","organizations_url":"https://api.github.com/users/amdad/orgs","repos_url":"https://api.github.com/users/amdad/repos","events_url":"https://api.github.com/users/amdad/events{/privacy}","received_events_url":"https://api.github.com/users/amdad/received_events","type":"User","site_admin":false},"created_at":"2016-08-07T12:53:45Z","updated_at":"2016-08-07T12:53:45Z","body":"@desandro how you like @richgcook example?"}}
{"actor":{"display_login":"amdad"}}