I have a draggable dialog and I would like to set dragging options, I don’t know how to do it.
Here is an example. The red box has the option cursorAt set with { top: 0, left: 0 }. I would like to do the same with the dragging of the dialog.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To change the dialog widget’s draggable options, you can reference it like this:
You can do the same with resizable as well.