Edit this page

filter String(default: null)

Selector that determines which items are sortable. Filtered items cannot be dragged and are not valid sort targets.

Example - filtered sortable items

<ul id="sortable">
    <li class="filtered">ItemA1</li>

        filter: ">li:not(.filtered)"

    .filtered { color: #FF0000; }
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article