@diamondlightsource/davidia
    Preparing search index...

    Interface VideoPlotProps

    Props for the VideoPlot component.

    interface VideoPlotProps {
        batonProps?: BatonProps;
        canEditSelections?: boolean;
        customToolbarChildren?: ReactNode;
        isImage?: boolean;
        plotConfig: PlotConfig;
        selectionOptions?: SelectionOptions;
        selections?: SelectionBase[];
        selectionsListener?: SelectionsEventListener;
        sourceURL: string;
        updateSelection?: SelectionHandler;
    }

    Hierarchy (View Summary)

    Index
    batonProps?: BatonProps

    The baton props

    canEditSelections?: boolean

    If true (default), can edit selections

    customToolbarChildren?: ReactNode

    Children to customize the toolbar. If undefined then use default toolbar, if null, disable toolbar, otherwise use given children

    isImage?: boolean

    if true, source is an animated image (MJPEG, animated GIF, etc)

    plotConfig: PlotConfig

    The plot configuration

    selectionOptions?: SelectionOptions

    Selection type options and limits (0 = limitless)

    selections?: SelectionBase[]

    The selections

    selectionsListener?: SelectionsEventListener

    Selections event listener

    sourceURL: string

    video source url

    updateSelection?: SelectionHandler

    Handles adding selection