Edit this page

container String | jQuery(default: null)

Selector that determines the container to which boundaries the hint movement will be constrained.

Example - initiate Sortable widget with hint movement constrains

<div id="wrapper">
    <ul id="sortable">

        container: $("#wrapper")

    #wrapper {
        padding: 10px;
        width: 100px;
        border: 1px solid #FF0000;
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article