Added select2-close event to index.html.
Added select2-close: Fired after the dropdown is closed. Also fixed zebra striping in the events.
This commit is contained in:
parent
d1bc05630c
commit
c6a517f463
16
index.html
16
index.html
@ -1710,6 +1710,12 @@ $("#select").select2({
|
||||
</div>
|
||||
</div>
|
||||
<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">
|
||||
<h3>select2-highlight</h3>
|
||||
<p>Fired when a choice is highlighted in the dropdown.</p>
|
||||
@ -1720,7 +1726,7 @@ $("#select").select2({
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="row zebra">
|
||||
<div class="span12">
|
||||
<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.
|
||||
@ -1752,7 +1758,7 @@ $("#select").select2({
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row zebra">
|
||||
<div class="row">
|
||||
<div class="span12">
|
||||
<h3>select2-removed</h3>
|
||||
<p>Fired when a choice is removed or cleared.</p>
|
||||
@ -1763,7 +1769,7 @@ $("#select").select2({
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="row zebra">
|
||||
<div class="span12">
|
||||
<h3>select2-loaded</h3>
|
||||
<p>Fired when query function is done loading the data and the results list has been updated</p>
|
||||
@ -1773,14 +1779,14 @@ $("#select").select2({
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row zebra">
|
||||
<div class="row">
|
||||
<div class="span12">
|
||||
<h3>select2-focus</h3>
|
||||
<p>Fired when the control is focused.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="row zebra">
|
||||
<div class="span12">
|
||||
<h3>select2-blur</h3>
|
||||
<p>Fired when the control is blurred.
|
||||
|
Loading…
x
Reference in New Issue
Block a user