I have a simple button component. 

I trying to get the child content and pass it through to the button. Here 
is an example:

this is some <i>content</i>

I can't figure out how MyButton can pass along the children

class MyButton extends LitElement {
constructor(...args) {

render({children}) {
return html`
<button class="primary" type="button">

I tried capturing all the args pass into render and the constructor, but 
found nothing that I can use to capture the content. Can someone point me 
in the right direction?


Follow Polymer on Google+: plus.google.com/107187849809354688692
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to polymer-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to