Selector: f-selection-area
Class: FSelectionArea
FSelectionArea enables rectangle-based multi-select in a flow.
Use f-selection-area when users need to select many items quickly.
Typical use cases:
If your editor is single-select only, this plugin may be unnecessary.
On pointer down, the plugin checks fTrigger. If allowed, it shows the selection rectangle host, updates its bounds on move, computes intersections, marks matching elements selected, then finalizes selection on pointer up.
fTrigger: FEventTrigger; Selection-start predicate. Default trigger returns event.shiftKey.Selection changes are emitted by fDraggable through fSelectionChange.
.f-component Base class for flow primitives..f-selection-area Host class of selection rectangle element.fDraggable on parent f-flow..f-selection-area in your app/theme so users can see it.fTrigger overlaps with other drag gestures.[component.html] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/extensions/selection-area/selection-area.component.html [component.ts] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/extensions/selection-area/selection-area.component.ts [component.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/extensions/selection-area/selection-area.component.scss [common.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/_flow-common.scss