1
0
mirror of synced 2025-02-04 06:09:23 +03:00

Documentation changes

The documentation now references the `choice` parameter instead of
the now deprecated `object` parameter for events.

This fixes the following issue: https://github.com/ivaynberg/select2/issues/2340
This commit is contained in:
Kevin Brown 2014-06-11 20:19:01 -04:00
parent 4a594f7a82
commit 05babd1285

View File

@ -1773,7 +1773,7 @@ $("#select").select2({
<p>The event object contains the following custom properties:
<dl>
<dt>val</dt><dd>The id of the highlighted choice object.</dd>
<dt>object</dt><dd>The highlighted choice object.</dd>
<dt>choice</dt><dd>The highlighted choice object.</dd>
</dl>
</div>
</div>
@ -1785,7 +1785,7 @@ $("#select").select2({
<p>The event object contains the following custom properties:
<dl>
<dt>val</dt><dd>The id of the highlighted choice object.</dd>
<dt>object</dt><dd>The choice object about to be selected.</dd>
<dt>choice</dt><dd>The choice object about to be selected.</dd>
</dl>
</div>
</div>
@ -1805,7 +1805,7 @@ $("#select").select2({
<p>The event object contains the following custom properties:
<dl>
<dt>val</dt><dd>The id of the removing choice object.</dd>
<dt>object</dt><dd>The choice object about to be removed.</dd>
<dt>choice</dt><dd>The choice object about to be removed.</dd>
</dl>
</div>
</div>
@ -1816,7 +1816,7 @@ $("#select").select2({
<p>The event object contains the following custom properties:
<dl>
<dt>val</dt><dd>The id of the highlighted choice object.</dd>
<dt>object</dt><dd>The highlighted choice object.</dd>
<dt>choice</dt><dd>The highlighted choice object.</dd>
</dl>
</div>
</div>