feat(element): add lightweight reactive element base (#513)

This commit is contained in:
rahim
2026-02-13 00:41:49 +11:00
committed by GitHub
parent f2efa2456b
commit 33b21906cd
60 changed files with 1793 additions and 457 deletions
+2 -6
View File
@@ -1,10 +1,6 @@
import { ReactiveElement } from '@lit/reactive-element';
import { ReactiveElement } from '@videojs/element';
import type { Constructor } from '@videojs/utils/types';
export class MediaElement extends ReactiveElement {
protected createRenderRoot() {
return this;
}
}
export class MediaElement extends ReactiveElement {}
export interface MediaElementConstructor extends Constructor<MediaElement> {}