mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
feat(element): add lightweight reactive element base (#513)
This commit is contained in:
@@ -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> {}
|
||||
|
||||
Reference in New Issue
Block a user