super-media-element
Advanced tools
Comparing version 0.4.1 to 0.4.2
{ | ||
"name": "super-media-element", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Helps you create a custom element w/ a HTMLMediaElement API.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -55,2 +55,3 @@ /** | ||
return class SuperMedia extends superclass { | ||
static template = template; | ||
static #isDefined; | ||
@@ -155,3 +156,3 @@ | ||
this.attachShadow({ mode: 'open' }); | ||
this.shadowRoot.append(template.content.cloneNode(true)); | ||
this.shadowRoot.append(this.constructor.template.content.cloneNode(true)); | ||
} | ||
@@ -158,0 +159,0 @@ |
18497
352