- From: Joseph Orbegoso Pea <notifications@github.com>
- Date: Tue, 26 Apr 2016 12:48:31 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc:
Received on Tuesday, 26 April 2016 19:49:04 UTC
@nazar-pc Thanks for pointing that out. Maybe we can have both? ```js customElements.define("cool-element", CoolElement, {styles: '.thing { color: blue; }'); el.createShadowRoot({styles: ':host {display: block; }') // using :host makes sense here ``` --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/468#issuecomment-214864653
Received on Tuesday, 26 April 2016 19:49:04 UTC