custom-media-element
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -15,2 +15,3 @@ | ||
disconnectedCallback(): void; | ||
handleEvent(event: Event): void; | ||
} | ||
@@ -26,15 +27,16 @@ | ||
disconnectedCallback(): void; | ||
handleEvent(event: Event): void; | ||
} | ||
type CustomMediaElementConstructor<K> = { | ||
type CustomMediaElementConstructor<T> = { | ||
readonly observedAttributes: string[]; | ||
Events: string[]; | ||
template: HTMLTemplateElement; | ||
new(): K | ||
new(): T | ||
}; | ||
export function CustomMediaMixin(Base: any, options: { tag: 'video', is: string }): | ||
export function CustomMediaMixin(Base: any, options: { tag: 'video', is?: string }): | ||
CustomMediaElementConstructor<CustomVideoElement>; | ||
export function CustomMediaMixin(Base: any, options: { tag: 'audio', is: string }): | ||
export function CustomMediaMixin(Base: any, options: { tag: 'audio', is?: string }): | ||
CustomMediaElementConstructor<CustomAudioElement>; |
{ | ||
"name": "custom-media-element", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "A custom element for extending the native media elements (<audio> or <video>)", | ||
@@ -5,0 +5,0 @@ "type": "module", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19058
362