Merge pull request #2097 from colemanw/patch-2
Update docs for localization settings
This commit is contained in:
commit
2733a8c393
@ -1340,8 +1340,9 @@ format(item) {
|
||||
</table>
|
||||
<p class="alert alert-info">By default when attached to a <code>select</code> css classes from <code>option</code>s will be automatically copied.</p>
|
||||
</td></tr>
|
||||
<tr><td>formatNoMatches</td><td>function</td><td>
|
||||
Function used to render the "No matches" message
|
||||
<tr><td>formatNoMatches</td><td>string/function</td><td>
|
||||
String containing "No matches" message, or<br />
|
||||
Function used to render the message
|
||||
<pre>formatNoMatches(term)</pre>
|
||||
<table class="table table-bordered table-striped">
|
||||
<tr><th>Parameter</th><th>Type</th><th>Description</th></tr>
|
||||
@ -1349,8 +1350,9 @@ format(item) {
|
||||
<tr><td><returns></td><td>string</td><td>Message html.</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>formatSearching</td><td>function</td><td>
|
||||
Function used to render the "Searching..." message that is displayed while
|
||||
<tr><td>formatSearching</td><td>string/function</td><td>
|
||||
String containing "Searching..." message, or<br />
|
||||
Function used to render the message that is displayed while
|
||||
search is in progress.
|
||||
<pre>formatSearching()</pre>
|
||||
<table class="table table-bordered table-striped">
|
||||
@ -1358,8 +1360,9 @@ format(item) {
|
||||
<tr><td><returns></td><td>string</td><td>Message html or <code>null</code>/<code>undefined</code> to disable the message.</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>formatInputTooShort</td><td>function</td><td>
|
||||
Function used to render the "Search input too short" message.
|
||||
<tr><td>formatInputTooShort</td><td>string/function</td><td>
|
||||
String containing "Search input too short" message, or<br />
|
||||
Function used to render the message.
|
||||
<pre>formatInputTooShort(term, minLength)</pre>
|
||||
<table class="table table-bordered table-striped">
|
||||
<tr><th>Parameter</th><th>Type</th><th>Description</th></tr>
|
||||
@ -1368,8 +1371,20 @@ format(item) {
|
||||
<tr><td><returns></td><td>string</td><td>Message html.</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>formatSelectionTooBig</td><td>function</td><td>
|
||||
Function used to render the "You cannot select any more choices" message.
|
||||
<tr><td>formatInputTooLong</td><td>string/function</td><td>
|
||||
String containing "Search input too long" message, or<br />
|
||||
Function used to render the message.
|
||||
<pre>formatInputTooLong(term, maxLength)</pre>
|
||||
<table class="table table-bordered table-striped">
|
||||
<tr><th>Parameter</th><th>Type</th><th>Description</th></tr>
|
||||
<tr><td>term</td><td>string</td><td>Search string entered by user.</td></tr>
|
||||
<tr><td>maxLength</td><td>int</td><td>Maximum required term length.</td></tr>
|
||||
<tr><td><returns></td><td>string</td><td>Message html.</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>formatSelectionTooBig</td><td>string/function</td><td>
|
||||
String containing "You cannot select any more choices" message, or<br />
|
||||
Function used to render the message.
|
||||
<pre>formatSelectionTooBig(maxSize)</pre>
|
||||
<table class="table table-bordered table-striped">
|
||||
<tr><th>Parameter</th><th>Type</th><th>Description</th></tr>
|
||||
@ -1377,6 +1392,16 @@ format(item) {
|
||||
<tr><td><returns></td><td>string</td><td>Message html.</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>formatLoadMore</td><td>string/function</td><td>
|
||||
String containing "Loading more results…" message, or<br />
|
||||
Function used to render the message.
|
||||
<pre>formatLoadMore(pageNumber)</pre>
|
||||
<table class="table table-bordered table-striped">
|
||||
<tr><th>Parameter</th><th>Type</th><th>Description</th></tr>
|
||||
<tr><td>pageNumber</td><td>string</td><td>The current page.</td></tr>
|
||||
<tr><td><returns></td><td>string</td><td>Message html.</td></tr>
|
||||
</table>
|
||||
</td></tr>
|
||||
<tr><td>createSearchChoice</td><td>function</td><td>
|
||||
Creates a new selectable choice from user's search term. Allows creation of choices not available via the query
|
||||
function. Useful when the user can create choices on the fly, eg for the 'tagging' usecase.
|
||||
|
Loading…
Reference in New Issue
Block a user