class PuppygirlDomme extends HTMLElement {
constructor() {
super()
}
connectedCallback() {
const templateName = this.getAttribute('template')
const template = document.getElementById(templateName)
const content = template.content
const shadow = this.attachShadow({ mode: 'open' })
shadow.appendChild(content.cloneNode(true))
}
}
customElements.define("puppygirl-domme", PuppygirlDomme)