Resortable - v2.0.0-alpha.1
    Preparing search index...

    Interface SelectionManagerInterface

    Selection manager interface for type safety

    interface SelectionManagerInterface {
        selectedElements: Set<HTMLElement>;
        select(item: HTMLElement, addToSelection?: boolean): void;
        deselect(item: HTMLElement): void;
        isSelected(item: HTMLElement): boolean;
        clearSelection(): void;
    }

    Implemented by

    Index

    Properties

    selectedElements: Set<HTMLElement>

    Methods

    • Parameters

      • item: HTMLElement
      • OptionaladdToSelection: boolean

      Returns void

    • Parameters

      • item: HTMLElement

      Returns boolean