{"action":"created","issue":{"url":"https://api.github.com/repos/gaia-components/gaia-tabs/issues/4","labels_url":"https://api.github.com/repos/gaia-components/gaia-tabs/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/gaia-components/gaia-tabs/issues/4/comments","events_url":"https://api.github.com/repos/gaia-components/gaia-tabs/issues/4/events","html_url":"https://github.com/gaia-components/gaia-tabs/issues/4","id":59562975,"number":4,"title":"Cannot use gaia-tabs with document.createElement","user":{"login":"mikehenrty","id":635365,"avatar_url":"https://avatars.githubusercontent.com/u/635365?v=3","gravatar_id":"","url":"https://api.github.com/users/mikehenrty","html_url":"https://github.com/mikehenrty","followers_url":"https://api.github.com/users/mikehenrty/followers","following_url":"https://api.github.com/users/mikehenrty/following{/other_user}","gists_url":"https://api.github.com/users/mikehenrty/gists{/gist_id}","starred_url":"https://api.github.com/users/mikehenrty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikehenrty/subscriptions","organizations_url":"https://api.github.com/users/mikehenrty/orgs","repos_url":"https://api.github.com/users/mikehenrty/repos","events_url":"https://api.github.com/users/mikehenrty/events{/privacy}","received_events_url":"https://api.github.com/users/mikehenrty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-02T22:34:16Z","updated_at":"2015-03-02T22:36:10Z","closed_at":null,"body":"It seems that the created callback runs immediate when using `document.createElement('gaia-tabs')`. The problem is, this is where the logic is that generates the progress bar selector and selection logic. However, we have had no time to add our tab elements programmatically."},"comment":{"url":"https://api.github.com/repos/gaia-components/gaia-tabs/issues/comments/76842040","html_url":"https://github.com/gaia-components/gaia-tabs/issues/4#issuecomment-76842040","issue_url":"https://api.github.com/repos/gaia-components/gaia-tabs/issues/4","id":76842040,"user":{"login":"mikehenrty","id":635365,"avatar_url":"https://avatars.githubusercontent.com/u/635365?v=3","gravatar_id":"","url":"https://api.github.com/users/mikehenrty","html_url":"https://github.com/mikehenrty","followers_url":"https://api.github.com/users/mikehenrty/followers","following_url":"https://api.github.com/users/mikehenrty/following{/other_user}","gists_url":"https://api.github.com/users/mikehenrty/gists{/gist_id}","starred_url":"https://api.github.com/users/mikehenrty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikehenrty/subscriptions","organizations_url":"https://api.github.com/users/mikehenrty/orgs","repos_url":"https://api.github.com/users/mikehenrty/repos","events_url":"https://api.github.com/users/mikehenrty/events{/privacy}","received_events_url":"https://api.github.com/users/mikehenrty/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T22:36:10Z","updated_at":"2015-03-02T22:36:10Z","body":"Thinking about this, I think we need a mutation observer to update the selection properties whenever the content changes."}}