Closed thomaswilburn closed 3 years ago
We can safely assume that Shadow DOM is supported in our target browsers at this point. That means we can lose the this.style.display = 'block'; from the constructor, and also simplify our iframe code out of the connected callback.
this.style.display = 'block';
We can safely assume that Shadow DOM is supported in our target browsers at this point. That means we can lose the
this.style.display = 'block';
from the constructor, and also simplify our iframe code out of the connected callback.