We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4cd708 commit 559bf32Copy full SHA for 559bf32
entries/sortable.xml
@@ -462,6 +462,12 @@
462
</method>
463
<method name="toArray" return="Array" example-return-var="sortedIDs">
464
<desc>Serializes the sortable's item id's into an array of string.</desc>
465
+ <argument name="options" type="Object">
466
+ <desc>Options to customize the serialization.</desc>
467
+ <property name="attribute" type="String" default='"id"'>
468
+ <desc>The name of the attribute to use for the values.</desc>
469
+ </property>
470
+ </argument>
471
472
<xi:include href="../includes/widget-method-widget.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
473
</methods>
0 commit comments