@dxos/react-ui-list
    Preparing search index...

    Type Alias TreeSelectEvent<T>

    TreeSelectEvent: {
        current: boolean;
        item: T;
        path: string[];
        range?: { item: T; path: string[] }[];
    } & SelectModifiers

    Type Parameters

    • T extends { id: string } = any

    Type declaration

    • current: boolean

      The state the row is taken to: in multiple mode a meta-click reports the toggled state.

    • item: T
    • path: string[]
    • Optionalrange?: { item: T; path: string[] }[]

      A shift-click in multiple mode: every selectable row from the anchor (the last row activated without shift) to this one, in row order and both ends included; with meta too, the consumer adds it to the selection.