Given the following example element.
<my-element>
Hello world
</my-element>
What javascript variable would give me "Hello world"?
I've tried a bunch of things. I tried this.innerText
, and this.$.content
won't show unless the <content>
tags are in the <template>
.