draggable.axis String default: ""

Constrains dragging to the horizontal (x) or to the vertical (y) axis.

The supported values are:

  • 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