{"action":"created","issue":{"url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/1242","repository_url":"https://api.github.com/repos/OnsenUI/OnsenUI","labels_url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/1242/labels{/name}","comments_url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/1242/comments","events_url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/1242/events","html_url":"https://github.com/OnsenUI/OnsenUI/pull/1242","id":134840608,"number":1242,"title":"feat(ons-carousel): Add `centered` attribute.","user":{"login":"IliaSky","id":2514449,"avatar_url":"https://avatars.githubusercontent.com/u/2514449?v=3","gravatar_id":"","url":"https://api.github.com/users/IliaSky","html_url":"https://github.com/IliaSky","followers_url":"https://api.github.com/users/IliaSky/followers","following_url":"https://api.github.com/users/IliaSky/following{/other_user}","gists_url":"https://api.github.com/users/IliaSky/gists{/gist_id}","starred_url":"https://api.github.com/users/IliaSky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IliaSky/subscriptions","organizations_url":"https://api.github.com/users/IliaSky/orgs","repos_url":"https://api.github.com/users/IliaSky/repos","events_url":"https://api.github.com/users/IliaSky/events{/privacy}","received_events_url":"https://api.github.com/users/IliaSky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OnsenUI/OnsenUI/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-19T11:19:21Z","updated_at":"2016-03-14T06:35:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OnsenUI/OnsenUI/pulls/1242","html_url":"https://github.com/OnsenUI/OnsenUI/pull/1242","diff_url":"https://github.com/OnsenUI/OnsenUI/pull/1242.diff","patch_url":"https://github.com/OnsenUI/OnsenUI/pull/1242.patch"},"body":"[Some users](http://stackoverflow.com/questions/35463152/onsen-carousel-show-current-item-in-centre) seem to be in need of this.\r\n\r\nIt would make sense to have this if we support `item-width` and `item-height` properties I guess.\r\nAlthough even these 2 properties don't seem to be tested very well as the way in which the implementation checks the current item it's impossible to select for example the last one if the size is less than 100%. \r\n\r\nAnyway I don't think this would cause issues and could be useful."},"comment":{"url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/comments/196166319","html_url":"https://github.com/OnsenUI/OnsenUI/pull/1242#issuecomment-196166319","issue_url":"https://api.github.com/repos/OnsenUI/OnsenUI/issues/1242","id":196166319,"user":{"login":"IliaSky","id":2514449,"avatar_url":"https://avatars.githubusercontent.com/u/2514449?v=3","gravatar_id":"","url":"https://api.github.com/users/IliaSky","html_url":"https://github.com/IliaSky","followers_url":"https://api.github.com/users/IliaSky/followers","following_url":"https://api.github.com/users/IliaSky/following{/other_user}","gists_url":"https://api.github.com/users/IliaSky/gists{/gist_id}","starred_url":"https://api.github.com/users/IliaSky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IliaSky/subscriptions","organizations_url":"https://api.github.com/users/IliaSky/orgs","repos_url":"https://api.github.com/users/IliaSky/repos","events_url":"https://api.github.com/users/IliaSky/events{/privacy}","received_events_url":"https://api.github.com/users/IliaSky/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T06:35:34Z","updated_at":"2016-03-14T06:35:34Z","body":"I updated the translations, so maybe we can merge it now if you think they are ok. :)"}}