{"action":"created","issue":{"url":"https://api.github.com/repos/CodeSeven/toastr/issues/357","repository_url":"https://api.github.com/repos/CodeSeven/toastr","labels_url":"https://api.github.com/repos/CodeSeven/toastr/issues/357/labels{/name}","comments_url":"https://api.github.com/repos/CodeSeven/toastr/issues/357/comments","events_url":"https://api.github.com/repos/CodeSeven/toastr/issues/357/events","html_url":"https://github.com/CodeSeven/toastr/issues/357","id":110848078,"node_id":"MDU6SXNzdWUxMTA4NDgwNzg=","number":357,"title":"Don't rely on a id=\"toast-container\" element","user":{"login":"ibc","id":16191,"node_id":"MDQ6VXNlcjE2MTkx","avatar_url":"https://avatars2.githubusercontent.com/u/16191?v=4","gravatar_id":"","url":"https://api.github.com/users/ibc","html_url":"https://github.com/ibc","followers_url":"https://api.github.com/users/ibc/followers","following_url":"https://api.github.com/users/ibc/following{/other_user}","gists_url":"https://api.github.com/users/ibc/gists{/gist_id}","starred_url":"https://api.github.com/users/ibc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ibc/subscriptions","organizations_url":"https://api.github.com/users/ibc/orgs","repos_url":"https://api.github.com/users/ibc/repos","events_url":"https://api.github.com/users/ibc/events{/privacy}","received_events_url":"https://api.github.com/users/ibc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-10-11T10:41:34Z","updated_at":"2018-06-16T03:28:59Z","closed_at":"2018-06-16T03:28:59Z","author_association":"NONE","body":"This is not cool at all:\n\n``` js\n$container = $('#' + options.containerId);\n```\n\nPlease don't force the user/app to give a specific `id` attribute to toastr. Instead let the user/app to select a HTML element without requiring it to have an ìd`attribute. In other words, toastr should not require any HTML element with a specific`id` attribute.\n\nImagine por example the case in which a 3rd party widget uses toast and the website also uses toast. They would basically conflict.\n"},"comment":{"url":"https://api.github.com/repos/CodeSeven/toastr/issues/comments/397783101","html_url":"https://github.com/CodeSeven/toastr/issues/357#issuecomment-397783101","issue_url":"https://api.github.com/repos/CodeSeven/toastr/issues/357","id":397783101,"node_id":"MDEyOklzc3VlQ29tbWVudDM5Nzc4MzEwMQ==","user":{"login":"TimFerrell","id":189421,"node_id":"MDQ6VXNlcjE4OTQyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/189421?v=4","gravatar_id":"","url":"https://api.github.com/users/TimFerrell","html_url":"https://github.com/TimFerrell","followers_url":"https://api.github.com/users/TimFerrell/followers","following_url":"https://api.github.com/users/TimFerrell/following{/other_user}","gists_url":"https://api.github.com/users/TimFerrell/gists{/gist_id}","starred_url":"https://api.github.com/users/TimFerrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimFerrell/subscriptions","organizations_url":"https://api.github.com/users/TimFerrell/orgs","repos_url":"https://api.github.com/users/TimFerrell/repos","events_url":"https://api.github.com/users/TimFerrell/events{/privacy}","received_events_url":"https://api.github.com/users/TimFerrell/received_events","type":"User","site_admin":false},"created_at":"2018-06-16T03:28:59Z","updated_at":"2018-06-16T03:28:59Z","author_association":"MEMBER","body":"You can specify the container id using this option: https://github.com/CodeSeven/toastr/blob/master/toastr.js#L157"}}
{"actor":{"display_login":"TimFerrell"}}