draggable Object|Boolean
(default: true)
Enables (true
) or disables (false
) the dragging of the widget.
Example - disabling the dragging of the Window
<div id="dialog"></div>
<script>
$("#dialog").kendoWindow({
draggable: false
});
</script>
Example - setting draggable object configuration
<div id="container">
<div id="dialog">
<div style="width: 20px; height: 20px; border: 1px solid red;" id="handle"></div>
</div>
</div>
<script>
$("#dialog").kendoWindow({
draggable: {
containment: "#container",
axis: "x",
dragHandle: "#handle"
}
});
</script>