Skip to main content

Function: SelectArea

SelectArea(__namedParameters): Element

Connected version of IDA Framework's SelectArea component that automatically selects items that are within the user's select box.

Click and dragging will calculate which items are underneath the box, and if so, will add its item ID to the IdaStore's selectedItems set.

Remarks

This component requires the PanelLayoutExtension, ItemSelectionExtension, and IDAItemLayoutExtension to be added to the DesignExtensionSystem.

Parameters

NameType
__namedParametersSelectAreaProps

Returns

Element

Defined in

packages/design-engine-react-components/src/components/selection/SelectArea.tsx:24