Skip to content

Draggable: Document relationship between appendTo and helper options #232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion entries/draggable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
<desc>If set to <code>false</code>, will prevent the <code>ui-draggable</code> class from being added. This may be desired as a performance optimization when calling <code>.draggable()</code> on hundreds of elements.</desc>
</option>
<option name="appendTo" default='"parent"' example-value='"body"'>
<desc>Which element the draggable helper should be appended to while dragging.</desc>
<desc>
<p>Which element the draggable helper should be appended to while dragging.</p>
<div class="warning"><strong>Note:</strong> The <code>appendTo</code> option only works when the <a href="#option-helper"><code>helper</code></a> option is set to not use the original element.</div>
</desc>
<type name="jQuery">
<desc>A jQuery object containing the element to append the helper to.</desc>
</type>
Expand Down