Type alias RegionParams

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

Type declaration

  • Optional channelIdx?: number

    The index of the channel

  • Optional color?: string

    The color of the region (CSS color)

  • Optional content?: string | HTMLElement

    Content string or HTML element

  • Optional contentEditable?: boolean

    Allow/Disallow contenteditable property for content

  • Optional drag?: boolean

    Allow/dissallow dragging the region

  • Optional end?: number

    The end position of the region (in seconds)

  • Optional id?: string

    The id of the region, any string

  • Optional maxLength?: number

    Max length when resizing (in seconds)

  • Optional minLength?: number

    Min length when resizing (in seconds)

  • Optional resize?: boolean

    Allow/dissallow resizing the region

  • start: number

    The start position of the region (in seconds)

Generated using TypeDoc