UNPKG

@exadel/esl

Version:

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

23 lines (22 loc) 783 B
import { ESLMixinElement } from '../../esl-mixin-element/core'; import type { ESLMedia } from '../core/esl-media'; export interface ESLMediaControlConfig { target?: string; action?: 'play' | 'pause' | 'stop' | 'toggle'; activeCls?: string; } export declare class ESLMediaControlMixin extends ESLMixinElement { static is: string; static readonly DEFAULT_CONFIG: ESLMediaControlConfig; get config(): ESLMediaControlConfig; set config(value: string | ESLMediaControlConfig); get $target(): ESLMedia | null; protected attributeChangedCallback(): void; protected onClick(): void; protected onStateChange(e: CustomEvent): void; } declare global { export interface ESLLibrary { MediaControlMixin: typeof ESLMediaControlMixin; } }