{"action":"closed","issue":{"url":"https://api.github.com/repos/catberry/catberry/issues/275","repository_url":"https://api.github.com/repos/catberry/catberry","labels_url":"https://api.github.com/repos/catberry/catberry/issues/275/labels{/name}","comments_url":"https://api.github.com/repos/catberry/catberry/issues/275/comments","events_url":"https://api.github.com/repos/catberry/catberry/issues/275/events","html_url":"https://github.com/catberry/catberry/issues/275","id":152022770,"number":275,"title":"Component 'replace'","user":{"login":"reflog","id":109876,"avatar_url":"https://avatars.githubusercontent.com/u/109876?v=3","gravatar_id":"","url":"https://api.github.com/users/reflog","html_url":"https://github.com/reflog","followers_url":"https://api.github.com/users/reflog/followers","following_url":"https://api.github.com/users/reflog/following{/other_user}","gists_url":"https://api.github.com/users/reflog/gists{/gist_id}","starred_url":"https://api.github.com/users/reflog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reflog/subscriptions","organizations_url":"https://api.github.com/users/reflog/orgs","repos_url":"https://api.github.com/users/reflog/repos","events_url":"https://api.github.com/users/reflog/events{/privacy}","received_events_url":"https://api.github.com/users/reflog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/catberry/catberry/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"pragmadash","id":887952,"avatar_url":"https://avatars.githubusercontent.com/u/887952?v=3","gravatar_id":"","url":"https://api.github.com/users/pragmadash","html_url":"https://github.com/pragmadash","followers_url":"https://api.github.com/users/pragmadash/followers","following_url":"https://api.github.com/users/pragmadash/following{/other_user}","gists_url":"https://api.github.com/users/pragmadash/gists{/gist_id}","starred_url":"https://api.github.com/users/pragmadash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pragmadash/subscriptions","organizations_url":"https://api.github.com/users/pragmadash/orgs","repos_url":"https://api.github.com/users/pragmadash/repos","events_url":"https://api.github.com/users/pragmadash/events{/privacy}","received_events_url":"https://api.github.com/users/pragmadash/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-04-30T10:30:40Z","updated_at":"2016-05-10T12:09:01Z","closed_at":"2016-05-10T12:09:01Z","body":"I'm wondering how can I do a 'replace' component? (Similar to replace directive in Angular).\r\nMeaning, if I have component \r\n`<cat-test><header class='test'></header></cat-test>` I want it to render as `<header class='test'></header>` without `cat-test` wrapper. This is important, since alot of CSS framework depend on a certain order of DOM nodes, and wrapping them causes CSS to break..\r\n\r\nRight not I have a workaround of pulling the class attribute into <cat-test> but it is ugly and exposes internal component details\r\nHere's a small example and submit an issue:\r\nhttps://github.com/reflog/catberry-bug-test1\r\n\r\nCheck 'document' and 'test' components.\r\n\r\nThanks!"}}