Documentation
    Preparing search index...
    interface NavigationSlice {
        _setHoveredMeasurement: (
            id: AnnotationMeasurement.AnnotationMeasurementId | undefined,
        ) => void;
        _setMeasurementToDelete: (
            id: AnnotationMeasurement.AnnotationMeasurementId | undefined,
        ) => void;
        _setSelectedMeasurement: (
            id: AnnotationMeasurement.AnnotationMeasurementId | undefined,
        ) => void;
        _startListMode: () => void;
        _startMeasurementEdit: (
            id: AnnotationMeasurement.AnnotationMeasurementId,
        ) => void;
        _ui: UIModeInternal;
    }

    Hierarchy (View Summary)

    Index

    Properties

    _setHoveredMeasurement: (
        id: AnnotationMeasurement.AnnotationMeasurementId | undefined,
    ) => void

    Set the currently hovered measurement ID. Only works in 'view' and 'list' modes.

    _setMeasurementToDelete: (
        id: AnnotationMeasurement.AnnotationMeasurementId | undefined,
    ) => void

    Set the measurement ID to delete. Only works in 'view' and 'list' modes. Will retain or switch modes as appropriate when setting or unsetting the ID.

    _setSelectedMeasurement: (
        id: AnnotationMeasurement.AnnotationMeasurementId | undefined,
    ) => void

    Set the currently selected measurement ID. Setting to undefined unselects any selection. On selection, switches to 'view' mode; on unselection, switches to 'list' mode.

    _startListMode: () => void

    Set the UI to list mode regardless of current mode.

    _startMeasurementEdit: (
        id: AnnotationMeasurement.AnnotationMeasurementId,
    ) => void

    Start editing the measurement with the given ID. Only works from 'view' or 'list' modes. Switches to 'edit' mode.