Hierarchy

Constructors

Properties

subscriptions: (() => void)[] = []

Type declaration

    • (): void
    • Returns void

utils: {
    style: ((el, styles) => CSSStyleDeclaration & Record<string, string>);
} = ...

Type declaration

  • style: ((el, styles) => CSSStyleDeclaration & Record<string, string>)
      • (el, styles): CSSStyleDeclaration & Record<string, string>
      • Parameters

        • el: HTMLElement
        • styles: Record<string, string>

        Returns CSSStyleDeclaration & Record<string, string>

wavesurfer?: WaveSurfer

Methods

  • Parameters

    • bgFill: any
    • fontSizeFreq: any
    • fontSizeUnit: any
    • fontType: any
    • textColorFreq: any
    • textColorUnit: any
    • textAlign: any
    • container: any

    Returns void

  • Subscribe to an event. Returns an unsubscribe function.

    Type Parameters

    Parameters

    Returns (() => void)

      • (): void
      • Subscribe to an event. Returns an unsubscribe function.

        Returns void

  • Subscribe to an event only once

    Type Parameters

    Parameters

    Returns (() => void)

      • (): void
      • Subscribe to an event only once

        Returns void

  • Clear all events

    Returns void

Generated using TypeDoc