Skip to content

Commit 9ac1f55

Browse files
committed
Updated events.
1 parent fbdc3b5 commit 9ac1f55

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

docs/events.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ selectize.off('event_name', handler);
1818
<table width="100%">
1919
<tr>
2020
<th valign="top" width="200px" align="left">Event</th>
21-
<th valign="top" width="100px" align="left">Params</th>
21+
<th valign="top" width="150px" align="left">Params</th>
2222
<th valign="top" align="left">Description</th>
2323
</tr>
2424
<tr>
@@ -28,7 +28,7 @@ selectize.off('event_name', handler);
2828
</tr>
2929
<tr>
3030
<td valign="top"><code>"change"</code></td>
31-
<td valign="top">value</td>
31+
<td valign="top"><code>value</code></td>
3232
<td valign="top">Invoked when the value of the control changes.</td>
3333
</tr>
3434
<tr>
@@ -43,12 +43,12 @@ selectize.off('event_name', handler);
4343
</tr>
4444
<tr>
4545
<td valign="top"><code>"item_add"</code></td>
46-
<td valign="top">value, $item</td>
46+
<td valign="top"><code>value</code>, <code>$item</code></td>
4747
<td valign="top">Invoked when an item is selected.</td>
4848
</tr>
4949
<tr>
5050
<td valign="top"><code>"item_remove"</code></td>
51-
<td valign="top">value</td>
51+
<td valign="top"><code>value</code>, <code>$item</code></td>
5252
<td valign="top">Invoked when an item is deselected.</td>
5353
</tr>
5454
<tr>
@@ -58,12 +58,12 @@ selectize.off('event_name', handler);
5858
</tr>
5959
<tr>
6060
<td valign="top"><code>"option_add"</code></td>
61-
<td valign="top">value, data</td>
61+
<td valign="top"><code>value</code>, <code>data</code></td>
6262
<td valign="top">Invoked when a new option is added to the available options list.</td>
6363
</tr>
6464
<tr>
6565
<td valign="top"><code>"option_remove"</code></td>
66-
<td valign="top">value</td>
66+
<td valign="top"><code>value</code></td>
6767
<td valign="top">Invoked when an option is removed from the available options.</td>
6868
</tr>
6969
<tr>
@@ -73,12 +73,12 @@ selectize.off('event_name', handler);
7373
</tr>
7474
<tr>
7575
<td valign="top"><code>"optgroup_add"</code></td>
76-
<td valign="top">id, data</td>
76+
<td valign="top"><code>id</code>, <code>data</code></td>
7777
<td valign="top">Invoked when a new option is added to the available options list.</td>
7878
</tr>
7979
<tr>
8080
<td valign="top"><code>"optgroup_remove"</code></td>
81-
<td valign="top">id</td>
81+
<td valign="top"><code>id</code></td>
8282
<td valign="top">Invoked when an option group is removed.</td>
8383
</tr>
8484
<tr>
@@ -88,27 +88,27 @@ selectize.off('event_name', handler);
8888
</tr>
8989
<tr>
9090
<td valign="top"><code>"dropdown_open"</code></td>
91-
<td valign="top">$dropdown</td>
91+
<td valign="top"><code>$dropdown</code></td>
9292
<td valign="top">Invoked when the dropdown opens.</td>
9393
</tr>
9494
<tr>
9595
<td valign="top"><code>"dropdown_close"</code></td>
96-
<td valign="top">$dropdown</td>
96+
<td valign="top"><code>$dropdown</code></td>
9797
<td valign="top">Invoked when the dropdown closes.</td>
9898
</tr>
9999
<tr>
100100
<td valign="top"><code>"type"</code></td>
101-
<td valign="top">str</td>
101+
<td valign="top"><code>str</code></td>
102102
<td valign="top">Invoked when the user types while filtering options.</td>
103103
</tr>
104104
<tr>
105105
<td valign="top"><code>"load"</code></td>
106-
<td valign="top">data</td>
106+
<td valign="top"><code>data</code></td>
107107
<td valign="top">Invoked when new options have been loaded and added to the control (via the "load" option or "load" API method).</td>
108108
</tr>
109109
<tr>
110110
<td valign="top"><code>"destroy"</code></td>
111111
<td valign="top"></td>
112112
<td valign="top">Invoked right before the control is destroyed.</td>
113113
</tr>
114-
</table>
114+
</table>

0 commit comments

Comments
 (0)