bore
bore copied to clipboard
Consider allowing light DOM and shadow DOM wrappers separately
Currently there's only mount()
. There might be use cases for:
-
light()
- Only traverses light DOM -
shadow()
- Current impl ofmount()
. UsesshadowRoot
, but does not descend into descendant components contained in the shadow root (only sees their light DOM). -
shadow({ deep: true })
traverses child shadow roots all the way down
This might cover #18 re shadow({ deep: true })
.