draggable.axis String default: ""

Constrains the dragging to horizontal (x) or vertical (y) axis. Accepts two possible values: "x", "y".

Example

<div id="container">
  <div id="dialog">
  </div>
</div>
<script>
$("#dialog").kendoWindow({
  draggable: {
    axis: "x"
  }
});
</script>
In this article
Not finding the help you need? Improve this article