Skip to content

NgDiagramMinimapNavigationDirective

since v1.0.0

Directive that enables drag navigation on the minimap. Users can drag on the minimap to move the diagram viewport.

Supports both mouse and touch input. Uses pointer capture for reliable touch tracking on mobile devices.

  • OnDestroy

ngOnDestroy(): void

A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.

void

OnDestroy.ngOnDestroy