wavesurfer.js
    Preparing search index...

    Type Alias HoverPluginOptions

    type HoverPluginOptions = {
        formatTimeCallback?: (seconds: number) => string;
        labelBackground?: string;
        labelColor?: string;
        labelPreferLeft?: boolean;
        labelSize?: string | number;
        lineColor?: string;
        lineWidth?: string | number;
    }
    Index
    formatTimeCallback?: (seconds: number) => string

    Custom function to customize the displayed label text (m:ss used if not specified)

    labelBackground?: string

    The background color of the label

    labelColor?: string

    The color of the label text

    labelPreferLeft?: boolean

    Whether to display the label to the left of the cursor if possible

    false
    
    labelSize?: string | number

    The font size of the label text (pixels used if no units specified)

    11
    
    lineColor?: string

    The hover cursor color (playback cursor and progress mask colors used as falllback in this order)

    lineWidth?: string | number

    The hover cursor width (pixels used if no units specified)

    1