Open
Description
You currently can render into shadowDOM
by setting the viewRoot
property:
This isn't currently documented because we might want to change how this works. It might be easier to just automatically render into shadowDOM if attachShadow
was called and not have a special viewRoot
property. Although maybe there will be use-cases for rendering somewhere else, so viewRoot
might be useful.