Skip to content

Commit 4de0b69

Browse files
committed
Documented "options" and "items" settings (#236)
1 parent 5ece5f5 commit 4de0b69

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/usage.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,18 @@ $(function() {
2222
<th valign="top" width="60px" align="left">Type</th>
2323
<th valign="top" width="60px" align="left">Default</th>
2424
</tr>
25+
<tr>
26+
<td valign="top"><code>options</code></td>
27+
<td valign="top">An array of the initial available options. By default this is populated from the original input element.</td>
28+
<td valign="top"><code>array</code></td>
29+
<td valign="top"><code>[]</code></td>
30+
</tr>
31+
<tr>
32+
<td valign="top"><code>items</code></td>
33+
<td valign="top">An array of the initial selected values. By default this is populated from the original input element.</td>
34+
<td valign="top"><code>array</code></td>
35+
<td valign="top"><code>[]</code></td>
36+
</tr>
2537
<tr>
2638
<td valign="top"><code>delimiter</code></td>
2739
<td valign="top">The string to separate items by. This option is only used when Selectize is instantiated from a &lt;input type="text"&gt; element.</td>

0 commit comments

Comments
 (0)