Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class myComponent extends HTMLElement {
- constuctor() {
- super();
- this.attachShadow({mode: 'open})
- this.shadowRoot.innerHTML = `
- <style>
- </style>
- <div>
- </div>
- `
- }
- connectedCallback () {
- }
- attributeChangedCallback(name, oldValue, newValue)
- static get ObservedAttributes {
- return []
- }
- }
Add Comment
Please, Sign In to add comment