documentationfor yFiles for HTML 2.6

Interface for a handle that can be displayed in a CanvasComponent as a UI element for the user to modify the contents of the control.

Remarks

Handles can be dragged with the mouse and will thereby modify their context. Typically client code will use the location to render a visual handle that can be dragged using the mouse. A drag will trigger the invocation of initializeDrag, zero or more handleMove calls, and will be finalized by either dragFinished or cancelDrag. The handleClick method is called when the handle is clicked or tapped.

Related Programming Samples

Reshape Handle Provider Configuration
Shows how resizing of nodes can be customized.
Reshape Handle Provider
Shows how to add resize handles to ports.

Type Details

yfiles module
view-component
yfiles-umd modules
All view modules
Legacy UMD name
yfiles.input.IHandle

See Also

Properties

Methods

Static Methods