Rename BetterHTMLElement to Better

This commit is contained in:
Talia 2021-06-23 14:32:08 +02:00
parent 124857f7f8
commit 3421f340f7

View file

@ -1,4 +1,4 @@
export class BetterHTMLElement extends HTMLElement { export class Better extends HTMLElement {
#observer #observer
constructor() { constructor() {
super() super()
@ -69,7 +69,7 @@ export class BetterHTMLElement extends HTMLElement {
} }
/* Example: /* Example:
class FooBar extends BetterHTMLElement { class FooBar extends Better {
constructor() { constructor() {
super(); super();
this.attachShadow({mode: "open"}); this.attachShadow({mode: "open"});