{"action":"created","issue":{"url":"https://api.github.com/repos/FamilySearchElements/cedar-alert/issues/2","repository_url":"https://api.github.com/repos/FamilySearchElements/cedar-alert","labels_url":"https://api.github.com/repos/FamilySearchElements/cedar-alert/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/FamilySearchElements/cedar-alert/issues/2/comments","events_url":"https://api.github.com/repos/FamilySearchElements/cedar-alert/issues/2/events","html_url":"https://github.com/FamilySearchElements/cedar-alert/pull/2","id":156035111,"number":2,"title":"Adding the autoHide property and show() param.","user":{"login":"jpodwys","id":5660076,"avatar_url":"https://avatars.githubusercontent.com/u/5660076?v=3","gravatar_id":"","url":"https://api.github.com/users/jpodwys","html_url":"https://github.com/jpodwys","followers_url":"https://api.github.com/users/jpodwys/followers","following_url":"https://api.github.com/users/jpodwys/following{/other_user}","gists_url":"https://api.github.com/users/jpodwys/gists{/gist_id}","starred_url":"https://api.github.com/users/jpodwys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpodwys/subscriptions","organizations_url":"https://api.github.com/users/jpodwys/orgs","repos_url":"https://api.github.com/users/jpodwys/repos","events_url":"https://api.github.com/users/jpodwys/events{/privacy}","received_events_url":"https://api.github.com/users/jpodwys/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-20T19:30:47Z","updated_at":"2016-05-20T19:34:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/FamilySearchElements/cedar-alert/pulls/2","html_url":"https://github.com/FamilySearchElements/cedar-alert/pull/2","diff_url":"https://github.com/FamilySearchElements/cedar-alert/pull/2.diff","patch_url":"https://github.com/FamilySearchElements/cedar-alert/pull/2.patch"},"body":"## Changes\r\n\r\n#### `auto-hide` attribute\r\n\r\nYou can now set a per-`cedar-alert` attribute to tell a given alert to hide `n` seconds after showing.\r\n\r\n```html\r\n<cedar-alert auto-hide=\"5\">\r\n  I will automatically hide in 5 seconds!\r\n</cedar-alert>\r\n```\r\n\r\n#### `.show(autoHide)` function call\r\n\r\nYou can also pass an `autoHide` argument to any `.show()` function call.\r\n\r\nIn the example below, `myAlert` will show and then hide 5 seconds later. This is convenient for both overriding the `auto-hide` attribute or auto-hiding when you don't want a default `auto-hide` attribute at all.\r\n\r\n```javascript\r\nvar myAlert = document.getElementById('some-id');\r\nmyAlert.show(5);\r\n```"},"comment":{"url":"https://api.github.com/repos/FamilySearchElements/cedar-alert/issues/comments/220698822","html_url":"https://github.com/FamilySearchElements/cedar-alert/pull/2#issuecomment-220698822","issue_url":"https://api.github.com/repos/FamilySearchElements/cedar-alert/issues/2","id":220698822,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T19:34:30Z","updated_at":"2016-05-20T19:34:30Z","body":"\n[![Coverage Status](https://coveralls.io/builds/6270257/badge)](https://coveralls.io/builds/6270257)\n\nCoverage increased (+8.4%) to 26.087% when pulling **6b9e97549794af3bd1c349d6ca86c063137e9f4e on auto-hide** into **5662b2f57895d6fa454453e3ebb91c47abe29463 on master**.\n"}}
{"actor":{"display_login":"coveralls"}}