Type alias RegionParams

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

Type declaration

  • Optional color?: string

    The color of the region (CSS color)

  • Optional content?: string | HTMLElement

    Content string or HTML element

  • 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