Selector: [fDragHandle]
The FDragHandle is a directive that specifies the handle for dragging a node within a flow of elements. It is used in conjunction with the fNode directive to enable dragging functionality.
.f-component
A general class applied to all F components for shared styling.
.f-drag-handle
Class specific to the drag handle directive, providing styles for the drag handle representation.
We need to add the fDragHandle directive inside fNode to specify the handle for dragging. This can be any element inside the node that will act as the drag handle.
This code snippet shows how to disable dragging for a node.
This example demonstrates how to use the fDragHandle directive to specify the handle for dragging a node.
[component.html] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-guides-examples/node/node-with-drag-handle-example/node-with-drag-handle-example.component.html [component.ts] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-guides-examples/node/node-with-drag-handle-example/node-with-drag-handle-example.component.ts [component.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-guides-examples/node/node-with-drag-handle-example/node-with-drag-handle-example.component.scss [common.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-guides-examples/_flow-common.scss