@diamondlightsource/davidia
    Preparing search index...

    Interface PlotSelectionProps

    Props for selections (and baton) in a plot component

    interface PlotSelectionProps {
        batonProps?: BatonProps;
        selections?: SelectionBase[];
        selectionsListener?: SelectionsEventListener;
        updateSelection?: null | SelectionHandler;
    }

    Hierarchy (View Summary)

    Index

    Properties

    batonProps?: BatonProps

    The baton props

    selections?: SelectionBase[]

    The selections

    selectionsListener?: SelectionsEventListener

    Selections event listener

    updateSelection?: null | SelectionHandler

    Handles adding selection (set null to disable editing)