New to Kendo UI for Angular? Start a free 30-day trial

Axis Lock

The DragTarget enables you to restrict the drag either to the horizontal or the vertical axis. To restrict the dragging action, set the DragTarget restrictByAxis property.

The following example demonstrates locking the element to be dragged horizontally or vertically only.

Example
View Source
Change Theme:

In this article

Not finding the help you need?