Skip to content

Commit b187143

Browse files
committed
Update [Readme.html] example
1 parent c8aa556 commit b187143

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

example/src/README.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ <h2 id="table-of-contents"><a class="header-link" href="#table-of-contents"></a>
6969
<li><a href="#custom-input">Custom input</a></li>
7070
<li><a href="#accessibility-on-custom-input">Accessibility on custom input</a></li>
7171
<li><a href="#custom-suggestion-item">Custom suggestion item</a></li>
72-
<li><a href="#custom-miscellanious-item-slots">Custom miscellanious item slots</a></li>
72+
<li><a href="#custom-miscellaneous-item-slots">Custom miscellaneous item slots</a></li>
7373
</ul>
7474
</li>
7575
</ul>
@@ -548,11 +548,17 @@ <h4 id="props"><a class="header-link" href="#props"></a>Props</h4>
548548
<td>All of the HTML5 input attributes with their respected default values.</td>
549549
</tr>
550550
<tr>
551-
<td><code>nullable-select</code> <sup><a href="https://github.com/KazanExpress/vue-simple-suggest/releases/tag/v1.4.0">v1.9.0</a></sup></td>
551+
<td><code>nullable-select</code> <sup><a href="https://github.com/KazanExpress/vue-simple-suggest/releases/tag/v1.9.0">v1.9.0</a></sup></td>
552552
<td>Boolean</td>
553553
<td><code>false</code></td>
554554
<td>Whether the <code>select</code> should accept <code>null</code> or not.</td>
555555
</tr>
556+
<tr>
557+
<td><code>preventHide</code> <sup><a href="https://github.com/KazanExpress/vue-simple-suggest/releases/tag/v1.11.0">v1.11.0</a></sup></td>
558+
<td>Boolean</td>
559+
<td><code>false</code></td>
560+
<td>Whether to keep the input open or not, allowing the user to select multiple inputs</td>
561+
</tr>
556562
</tbody>
557563
</table>
558564
<h5 id="mode"><a class="header-link" href="#mode"></a>mode</h5>
@@ -1035,7 +1041,7 @@ <h5 id="custom-suggestion-item"><a class="header-link" href="#custom-suggestion-
10351041
<span class="hljs-keyword">return</span> result.replace(<span class="hljs-keyword">new</span> <span class="hljs-built_in">RegExp</span>(<span class="hljs-string">'(.*?)('</span> + texts.join(<span class="hljs-string">'|'</span>) + <span class="hljs-string">')(.*?)'</span>,<span class="hljs-string">'gi'</span>), <span class="hljs-string">'$1&lt;b&gt;$2&lt;/b&gt;$3'</span>);
10361042
}</code></pre><p>Result via Google Books search API:</p>
10371043
<p class="img-container"><img src="assets/screenshot.jpg" alt=""></p>
1038-
<h5 id="custom-miscellanious-item-slots"><a class="header-link" href="#custom-miscellanious-item-slots"></a>Custom miscellanious item slots</h5>
1044+
<h5 id="custom-miscellaneous-item-slots"><a class="header-link" href="#custom-miscellaneous-item-slots"></a>Custom miscellaneous item slots</h5>
10391045
<blockquote>
10401046
<p><code>misc-item-above</code> and <code>misc-item-below</code> slots (optional)</p>
10411047
</blockquote>

0 commit comments

Comments
 (0)