classicSelectStrategy
Commons
stable
Returns a TStrategySelect object that implements classic tree-selection behaviour: selecting a node propagates to all its descendants and recalculates the indeterminate state of its ancestors.
API
Signature
Full TypeScript signature sourced from the util file.
API
Parameters
Input parameters accepted by this util.
- mandatoryboolean
- When true, at least one item must remain selected — deselecting the last selected item is a no-op.
API
Return value
The value returned by this util.
- A strategy object with select and in methods that drive tree-selection state in OrigamTreeview and similar components.
Usage
Examples
Ready-to-paste usage snippets.
Pass to OrigamTreeview