{"action":"closed","issue":{"url":"https://api.github.com/repos/bevacqua/dragula/issues/33","labels_url":"https://api.github.com/repos/bevacqua/dragula/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/bevacqua/dragula/issues/33/comments","events_url":"https://api.github.com/repos/bevacqua/dragula/issues/33/events","html_url":"https://github.com/bevacqua/dragula/issues/33","id":69855581,"number":33,"title":"allow addContainer to take container id","user":{"login":"ko-porter","id":12037281,"avatar_url":"https://avatars.githubusercontent.com/u/12037281?v=3","gravatar_id":"","url":"https://api.github.com/users/ko-porter","html_url":"https://github.com/ko-porter","followers_url":"https://api.github.com/users/ko-porter/followers","following_url":"https://api.github.com/users/ko-porter/following{/other_user}","gists_url":"https://api.github.com/users/ko-porter/gists{/gist_id}","starred_url":"https://api.github.com/users/ko-porter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ko-porter/subscriptions","organizations_url":"https://api.github.com/users/ko-porter/orgs","repos_url":"https://api.github.com/users/ko-porter/repos","events_url":"https://api.github.com/users/ko-porter/events{/privacy}","received_events_url":"https://api.github.com/users/ko-porter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-21T14:07:23Z","updated_at":"2015-04-21T14:09:43Z","closed_at":"2015-04-21T14:09:43Z","body":"in my use case, i'll be adding containers dynamically to the page, making them part of dragula containers. therefore those will have dynamically created ids.\r\nit would be ideal to be able to pass the id to the drake.addContainer method (addContainer(\"left2\")\r\nI've also tried passing the dom object through jquery, such as addContainer($(\"#left2\")), but i'm getting an error when doing so.\r\nonly addContainer(left2) seems to work"}}