wavesurfer.js
    Preparing search index...

    Type Alias RegionParams

    type RegionParams = {
        channelIdx?: number;
        color?: string;
        content?: string | HTMLElement;
        contentEditable?: boolean;
        drag?: boolean;
        end?: number;
        id?: string;
        maxLength?: number;
        minLength?: number;
        resize?: boolean;
        resizeEnd?: boolean;
        resizeStart?: boolean;
        start: number;
    }
    Index
    channelIdx?: number

    The index of the channel

    color?: string

    The color of the region (CSS color)

    content?: string | HTMLElement

    Content string or HTML element

    contentEditable?: boolean

    Allow/Disallow contenteditable property for content

    drag?: boolean

    Allow/dissallow dragging the region

    end?: number

    The end position of the region (in seconds)

    id?: string

    The id of the region, any string

    maxLength?: number

    Max length when resizing (in seconds)

    minLength?: number

    Min length when resizing (in seconds)

    resize?: boolean

    Allow/dissallow resizing the region

    resizeEnd?: boolean

    Allow/dissallow resizing the end of the region

    resizeStart?: boolean

    Allow/dissallow resizing the start of the region

    start: number

    The start position of the region (in seconds)