FilterNodeComponent
Defined in: filtering/tree/filter-node.component.ts:51
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FilterNodeComponent():
FilterNodeComponent
Returns
Section titled “Returns”FilterNodeComponent
Properties
Section titled “Properties”allDropListIds
Section titled “allDropListIds”allDropListIds:
InputSignal<string[]>
Defined in: filtering/tree/filter-node.component.ts:59
canClearAll
Section titled “canClearAll”canClearAll:
InputSignal<boolean>
Defined in: filtering/tree/filter-node.component.ts:73
Whether clear-all is available — only used by the root branch header.
canRedo
Section titled “canRedo”canRedo:
InputSignal<boolean>
Defined in: filtering/tree/filter-node.component.ts:71
Whether redo is available — only used by the root branch header.
canUndo
Section titled “canUndo”canUndo:
InputSignal<boolean>
Defined in: filtering/tree/filter-node.component.ts:69
Whether undo is available — only used by the root branch header.
clearAllClick
Section titled “clearAllClick”clearAllClick:
OutputEmitterRef<void>
Defined in: filtering/tree/filter-node.component.ts:85
Emitted when the root clear-all button is clicked.
conjunctionAriaLabel
Section titled “conjunctionAriaLabel”conjunctionAriaLabel:
Signal<string>
Defined in: filtering/tree/filter-node.component.ts:116
conjunctionLabel
Section titled “conjunctionLabel”conjunctionLabel:
Signal<string>
Defined in: filtering/tree/filter-node.component.ts:110
conjunctionToggle
Section titled “conjunctionToggle”conjunctionToggle:
OutputEmitterRef<string>
Defined in: filtering/tree/filter-node.component.ts:77
dragState
Section titled “dragState”
readonlydragState:FilterTreeDragStateService
Defined in: filtering/tree/filter-node.component.ts:91
dropListId
Section titled “dropListId”dropListId:
Signal<string>
Defined in: filtering/tree/filter-node.component.ts:120
isActiveBranch
Section titled “isActiveBranch”isActiveBranch:
Signal<boolean>
Defined in: filtering/tree/filter-node.component.ts:130
True only when THIS branch is the active drop target. Computed from the service’s single activeDropZone signal.
isBranch
Section titled “isBranch”isBranch:
Signal<boolean>
Defined in: filtering/tree/filter-node.component.ts:98
isDragging
Section titled “isDragging”isDragging:
WritableSignal<boolean>
Defined in: filtering/tree/filter-node.component.ts:121
isDropTarget
Section titled “isDropTarget”isDropTarget:
InputSignal<boolean>
Defined in: filtering/tree/filter-node.component.ts:66
True when this node is the active item-center drop target in its parent branch. Used to highlight the chip or branch header. Passed in by the parent’s
loop via isItemActive(i).
isLeaf
Section titled “isLeaf”isLeaf:
Signal<boolean>
Defined in: filtering/tree/filter-node.component.ts:97
isRoot
Section titled “isRoot”isRoot:
InputSignal<boolean>
Defined in: filtering/tree/filter-node.component.ts:57
isSelfDragging
Section titled “isSelfDragging”isSelfDragging:
Signal<boolean>
Defined in: filtering/tree/filter-node.component.ts:124
True when THIS node is the one currently being dragged.
leafLabel
Section titled “leafLabel”leafLabel:
Signal<string>
Defined in: filtering/tree/filter-node.component.ts:100
node:
InputSignal<FilterNode>
Defined in: filtering/tree/filter-node.component.ts:56
nodeDelete
Section titled “nodeDelete”nodeDelete:
OutputEmitterRef<string>
Defined in: filtering/tree/filter-node.component.ts:79
Emitted when the user clicks the delete button on a node.
nodeDrop
Section titled “nodeDrop”nodeDrop:
OutputEmitterRef<{dragId:string;position:DropPosition; }>
Defined in: filtering/tree/filter-node.component.ts:76
Final resolved drop — emitted after the root resolves the position.
redoClick
Section titled “redoClick”redoClick:
OutputEmitterRef<void>
Defined in: filtering/tree/filter-node.component.ts:83
Emitted when the root redo button is clicked.
root:
InputSignal<FilterNode>
Defined in: filtering/tree/filter-node.component.ts:58
undoClick
Section titled “undoClick”undoClick:
OutputEmitterRef<void>
Defined in: filtering/tree/filter-node.component.ts:81
Emitted when the root undo button is clicked.
Methods
Section titled “Methods”isGapActive()
Section titled “isGapActive()”isGapActive(
i):boolean
Defined in: filtering/tree/filter-node.component.ts:140
Is the gap at index i (before child i) currently active?
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”boolean
isItemActive()
Section titled “isItemActive()”isItemActive(
i):boolean
Defined in: filtering/tree/filter-node.component.ts:154
Is the item-center merge zone for child[i] currently active?
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”boolean
isTrailingGapActive()
Section titled “isTrailingGapActive()”isTrailingGapActive():
boolean
Defined in: filtering/tree/filter-node.component.ts:147
Is the trailing gap (after the last child) currently active?
Returns
Section titled “Returns”boolean
onChildConjunctionToggle()
Section titled “onChildConjunctionToggle()”onChildConjunctionToggle(
branchId):void
Defined in: filtering/tree/filter-node.component.ts:213
Parameters
Section titled “Parameters”branchId
Section titled “branchId”unknown
Returns
Section titled “Returns”void
onChildDelete()
Section titled “onChildDelete()”onChildDelete(
nodeId):void
Defined in: filtering/tree/filter-node.component.ts:221
Parameters
Section titled “Parameters”nodeId
Section titled “nodeId”unknown
Returns
Section titled “Returns”void
onChildDrop()
Section titled “onChildDrop()”onChildDrop(
event):void
Defined in: filtering/tree/filter-node.component.ts:209
Parameters
Section titled “Parameters”unknown
Returns
Section titled “Returns”void
onDeleteNode()
Section titled “onDeleteNode()”onDeleteNode():
void
Defined in: filtering/tree/filter-node.component.ts:217
Returns
Section titled “Returns”void
onDragEnded()
Section titled “onDragEnded()”onDragEnded():
void
Defined in: filtering/tree/filter-node.component.ts:168
Returns
Section titled “Returns”void
onDragMoved()
Section titled “onDragMoved()”onDragMoved(
event):void
Defined in: filtering/tree/filter-node.component.ts:173
Forward pointer position to the service on every drag-move tick.
Parameters
Section titled “Parameters”CdkDragMove
Returns
Section titled “Returns”void
onDragStarted()
Section titled “onDragStarted()”onDragStarted():
void
Defined in: filtering/tree/filter-node.component.ts:164
Returns
Section titled “Returns”void
onDrop()
Section titled “onDrop()”onDrop(
event):void
Defined in: filtering/tree/filter-node.component.ts:189
CDK fires this when an item is dropped into THIS branch’s drop list.
Resolves the drop position by running findDeepestBranchZone fresh at the drop coordinates — the same geometry used for hover highlighting — then emits nodeDrop with the fully resolved position. The root FilterTreeComponent applies the mutation.
Parameters
Section titled “Parameters”CdkDragDrop<FilterNode[]>
Returns
Section titled “Returns”void
onToggleConjunction()
Section titled “onToggleConjunction()”onToggleConjunction():
void
Defined in: filtering/tree/filter-node.component.ts:205
Returns
Section titled “Returns”void