1
0
mirror of synced 2024-11-22 21:16:10 +03:00

Added select2-close event to select2-latest.html

Added select2-close: Fired after the dropdown is closed.

Also fixed zebra striping in events section.
This commit is contained in:
Matt Janssen 2014-03-21 20:30:30 -05:00
parent c6a517f463
commit 32746ac223

View File

@ -1822,6 +1822,12 @@ $("#e1").select2({
</div> </div>
</div> </div>
<div class="row zebra"> <div class="row zebra">
<div class="span12">
<h3>select2-close</h3>
<p>Fired after the dropdown is closed.</p>
</div>
</div>
<div class="row">
<div class="span12"> <div class="span12">
<h3>select2-highlight</h3> <h3>select2-highlight</h3>
<p>Fired when a choice is highlighted in the dropdown.</p> <p>Fired when a choice is highlighted in the dropdown.</p>
@ -1832,7 +1838,7 @@ $("#e1").select2({
</dl> </dl>
</div> </div>
</div> </div>
<div class="row"> <div class="row zebra">
<div class="span12"> <div class="span12">
<h3>select2-selecting</h3> <h3>select2-selecting</h3>
<p>Fired when a choice is being selected in the dropdown, but before any modification has been made to the selection. <p>Fired when a choice is being selected in the dropdown, but before any modification has been made to the selection.
@ -1864,7 +1870,7 @@ $("#e1").select2({
</dl> </dl>
</div> </div>
</div> </div>
<div class="row zebra"> <div class="row">
<div class="span12"> <div class="span12">
<h3>select2-removed</h3> <h3>select2-removed</h3>
<p>Fired when a choice is removed or cleared.</p> <p>Fired when a choice is removed or cleared.</p>
@ -1875,7 +1881,7 @@ $("#e1").select2({
</dl> </dl>
</div> </div>
</div> </div>
<div class="row"> <div class="row zebra">
<div class="span12"> <div class="span12">
<h3>select2-loaded</h3> <h3>select2-loaded</h3>
<p>Fired when query function is done loading the data and the results list has been updated</p> <p>Fired when query function is done loading the data and the results list has been updated</p>
@ -1885,14 +1891,14 @@ $("#e1").select2({
</dl> </dl>
</div> </div>
</div> </div>
<div class="row zebra"> <div class="row">
<div class="span12"> <div class="span12">
<h3>select2-focus</h3> <h3>select2-focus</h3>
<p>Fired when the control is focussed. <p>Fired when the control is focussed.
</p> </p>
</div> </div>
</div> </div>
<div class="row"> <div class="row zebra">
<div class="span12"> <div class="span12">
<h3>select2-blur</h3> <h3>select2-blur</h3>
<p>Fired when the control is blurred. <p>Fired when the control is blurred.