UNPKG

@exadel/esl

Version:

Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components

14 lines (13 loc) 585 B
import type { ESLMediaProviderRegistry } from './esl-media-registry'; import type { ProviderType } from './esl-media-provider'; /** * An event dispatched by {@link ESLMediaProviderRegistry} on new provider registration */ export declare class ESLMediaRegistryEvent extends Event { readonly target: ESLMediaProviderRegistry; /** Registered provider instance */ readonly provider: ProviderType; constructor(target: ESLMediaProviderRegistry, provider: ProviderType); /** Checks if the event relates to passed provider name */ isRelates(name: string): boolean; }