@honua/sdk-js
    Preparing search index...

    Interface UseSelectionResultExperimental

    Result of useSelection.

    interface UseSelectionResult {
        selected: readonly SourceQualifiedFeatureSelectionTarget[];
        clear(): void;
        deselect(target: SourceQualifiedFeatureSelectionTarget): void;
        isSelected(target: SourceQualifiedFeatureSelectionTarget): boolean;
        select(
            target: SourceQualifiedFeatureSelectionTarget,
            options?: { additive?: boolean },
        ): void;
        toggle(
            target: SourceQualifiedFeatureSelectionTarget,
            options?: { additive?: boolean },
        ): void;
    }
    Index

    Properties

    Source-qualified selected features, in selection order.

    Methods