title | page_title | description | slug | canonicalLink | position |
---|---|---|---|---|---|
Constrain Movement |
Constrain Movement - Window - Kendo UI for Vue |
Set the containment element of the Kendo UI Window wrapper. |
constrain_movement_window_wrapper |
5 |
The draggable-containment
prop defines the selector of an element in which the window will be able to move. The element must have sufficient dimensions to contain the window. Accepts a selector. The Window element is appended to the containment element. Thus, the appendTo setting gets overridden.
The draggable-axis
prop constrains the dragging to horizontal (x) or vertical (y) axis. Accepts two possible values: "x", "y".
The draggable-dragHandle
prop restricts dragging of the window from the specified element. It should be part of the window element. Accepts a selector.
{% meta height:660 %} {% embed_file constrain/main.vue preview %} {% embed_file constrain/main.js %} {% endmeta %}