{"action":"created","issue":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/3128","repository_url":"https://api.github.com/repos/ampproject/amphtml","labels_url":"https://api.github.com/repos/ampproject/amphtml/issues/3128/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/amphtml/issues/3128/comments","events_url":"https://api.github.com/repos/ampproject/amphtml/issues/3128/events","html_url":"https://github.com/ampproject/amphtml/issues/3128","id":153451128,"number":3128,"title":"amp-carousel: make it possible to reveal specific slides","user":{"login":"borisf","id":747680,"avatar_url":"https://avatars.githubusercontent.com/u/747680?v=3","gravatar_id":"","url":"https://api.github.com/users/borisf","html_url":"https://github.com/borisf","followers_url":"https://api.github.com/users/borisf/followers","following_url":"https://api.github.com/users/borisf/following{/other_user}","gists_url":"https://api.github.com/users/borisf/gists{/gist_id}","starred_url":"https://api.github.com/users/borisf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisf/subscriptions","organizations_url":"https://api.github.com/users/borisf/orgs","repos_url":"https://api.github.com/users/borisf/repos","events_url":"https://api.github.com/users/borisf/events{/privacy}","received_events_url":"https://api.github.com/users/borisf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-06T13:28:45Z","updated_at":"2016-05-06T19:32:39Z","closed_at":null,"body":"A common feature of retail websites are image carousels in which each slide can be triggered via a user action, e.g. via link or thumbnail picture ([example](http://www.allsaints.com/women/denim/style,any/colour,any/size,any/?view=all)). \r\n\r\nHere is what a solution could look like:\r\n```\r\n<amp-carousel id=\"my-carousel\" type=\"slides\">\r\n  <div id=\"slide1\"> ... </div>\r\n  <div id=\"slide2\"> ... </div>\r\n</amp-carousel>\r\n\r\n<a on='tap:my-carousel.slide1.reveal'>show slide 1</a>\r\n<a on='tap:my-carousel.slide2.reveal'>show slide 2</a>\r\n```\r\nThe idea is to add a `on=\"tap\"` action which reveals slides in an amp-carousel. Slides and carousel are identified via `id`. This might even make sense not only for slides, but also the default mode.\r\n\r\n//cc @sebastianbenz @ericlindley-g \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ampproject/amphtml/issues/comments/217538183","html_url":"https://github.com/ampproject/amphtml/issues/3128#issuecomment-217538183","issue_url":"https://api.github.com/repos/ampproject/amphtml/issues/3128","id":217538183,"user":{"login":"jridgewell","id":112982,"avatar_url":"https://avatars.githubusercontent.com/u/112982?v=3","gravatar_id":"","url":"https://api.github.com/users/jridgewell","html_url":"https://github.com/jridgewell","followers_url":"https://api.github.com/users/jridgewell/followers","following_url":"https://api.github.com/users/jridgewell/following{/other_user}","gists_url":"https://api.github.com/users/jridgewell/gists{/gist_id}","starred_url":"https://api.github.com/users/jridgewell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jridgewell/subscriptions","organizations_url":"https://api.github.com/users/jridgewell/orgs","repos_url":"https://api.github.com/users/jridgewell/repos","events_url":"https://api.github.com/users/jridgewell/events{/privacy}","received_events_url":"https://api.github.com/users/jridgewell/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T19:32:39Z","updated_at":"2016-05-06T19:32:39Z","body":"Related to https://github.com/ampproject/amphtml/issues/1532?"}}