Skip to content
#

browserstack

Here are 81 public repositories matching this topic...

LarsDenBakker
LarsDenBakker commented Sep 14, 2020

When logging a dom element, we print the innerHTML:

const element = document.createElement('my-element');
console.log(element); // print element.innerHTML

When logging a shadowRoot, we should print the innerHTML as well:

const element = document.createElement('my-element');
console.log(elements.shadowRoot); // does not print element.innerHTML

Improve this page

Add a description, image, and links to the browserstack topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the browserstack topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.