How to read "light DOM" content in lit-element?

11 views
Skip to first unread message

ami...@gmail.com

unread,
Sep 14, 2019, 9:34:07 AM9/14/19
to Polymer
I want to create a component `markdown-slides` which depends on it's innerHTML,
is there a way to read "light DOM" content in lit-element just like the `value` of `textarea`?
or, can I bind `innerHTML` in main DOM tree to a property?

The use case could be:

```
<markdown-slides>
# Hello
---
## Page 2
---
# The End
</markdown-slides>
```
Reply all
Reply to author
Forward
0 new messages