You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
postfixes: 'Input Items Open Disabled TempShow HideSelect Wrapper Hover Responsive',
309
+
camelCase: true
310
310
}</td>
311
311
<td>Object</td>
312
-
<td>Custom classes</td>
312
+
<td>Custom classes.
313
+
Every class in 'postfixes' should be separate with a space and follow this exact order: 'Input Items Open Disabled TempShow HideSelect Wrapper Hover Responsive'</td>
314
+
</tr>
315
+
<tr>
316
+
<td>optionsItemBuilder</td>
317
+
<td>'{text}'</td>
318
+
<td>String or Function</td>
319
+
<td>Define how each option should be rendered inside its <li> element.
320
+
321
+
If it's a string, all keys wrapped in brackets will be replaced by the respective values in itemData. Available keys are: 'value', 'text', 'slug', 'disabled'.
322
+
323
+
If it's a function, it will be called with the following parameters: (itemData, element, index). The function must return a string, no keys will be replaced in this method.</td>
Copy file name to clipboardExpand all lines: index.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -401,7 +401,7 @@ <h2>Options</h2>
401
401
</tr>
402
402
<tr>
403
403
<td>optionsItemBuilder</td>
404
-
<td><pre><code>{text}</code></pre></td>
404
+
<td><pre><code>'{text}'</code></pre></td>
405
405
<td>String or Function</td>
406
406
<td>Define how each option should be rendered inside its <li> element. <br><br>
407
407
If it's a string, all keys wrapped in brackets will be replaced by the respective values in itemData. Available keys are: 'value', 'text', 'slug', 'disabled'. <br><br>
0 commit comments