Snippet demonstrating dynamically adding a custom element and setting an attribute of it.

Demonstrates how to dynamically adding a custom element and set an attribute of it.
Change filename to dynamically-adding-a-custom-element-to-the-dom.html.