JQuery UI Drag (draggable)-Handles and cancel

Source: Internet
Author: User

Definition and usage
Drag is only allowed when the cursor is specified on the draggable. Use the handle option to specify the JQuery selector for the element (or group of elements) that is used to drag the object, or to not allow dragging when the cursor is specified on the element (or group of elements) within the draggable. Use the Cancel option to specify a jQuery selector that cancels the drag function


Example
<! doctype html>


Output

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M00/8D/A7/wKioL1ilTBbxuvcuAAA1jNKlX0M120.png-wh_500x0-wm_ 3-wmp_4-s_3503784826.png "title=" Qq20170216145129.png "alt=" Wkiol1iltbbxuvcuaaa1jnklx0m120.png-wh_50 "/>

This article is from the "Yan" blog, please be sure to keep this source http://suyanzhu.blog.51cto.com/8050189/1898473

JQuery UI Drag (draggable)-Handles and cancel

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.