1
0
mirror of synced 2024-11-22 21:16:10 +03:00

Adjusted some wording

This commit is contained in:
Kevin Brown 2015-05-31 15:10:51 -04:00
parent 21bac6a6d8
commit 038c709c8b
6 changed files with 13 additions and 12 deletions

View File

@ -1,6 +1,6 @@
<section> <section>
<h1 id="matcher">Custom matcher</h1> <h1 id="matcher">Customizing how results are matched</h1>
<p> <p>
Unlike other dropdowns on this page, this one matches options only if Unlike other dropdowns on this page, this one matches options only if

View File

@ -4,7 +4,7 @@
Programmatic control Programmatic control
</h1> </h1>
<h2 id="events">Events</h2> <h2 id="events">DOM events</h2>
<p> <p>
Select2 will trigger some events on the original select element, Select2 will trigger some events on the original select element,
@ -138,8 +138,8 @@ function log (name, evt) {
<pre data-fill-from=".js-code-programmatic"></pre> <pre data-fill-from=".js-code-programmatic"></pre>
<script type="text/javascript" class="js-code-programmatic"> <script type="text/javascript" class="js-code-programmatic">
var $example = $(".js-example-programmatic"); var $example = $(".js-example-programmatic").select2();
var $exampleMulti = $(".js-example-programmatic-multi"); var $exampleMulti = $(".js-example-programmatic-multi").select2();
$(".js-programmatic-set-val").on("click", function () { $example.val("CA").trigger("change"); }); $(".js-programmatic-set-val").on("click", function () { $example.val("CA").trigger("change"); });

View File

@ -43,7 +43,7 @@
<a href="#programmatic-control">Programmatic control</a> <a href="#programmatic-control">Programmatic control</a>
<ul class="nav"> <ul class="nav">
<li> <li>
<a href="#events">Events</a> <a href="#events">DOM events</a>
</li> </li>
<li> <li>
<a href="#programmatic">Programmatic access</a> <a href="#programmatic">Programmatic access</a>
@ -57,7 +57,7 @@
<a href="#tokenizer">Automatic tokenization</a> <a href="#tokenizer">Automatic tokenization</a>
</li> </li>
<li> <li>
<a href="#matcher">Custom matcher</a> <a href="#matcher">Customizing how results are matched</a>
</li> </li>
<li> <li>
<a href="#localization-rtl-diacritics">Localization, RTL and diacritics support</a> <a href="#localization-rtl-diacritics">Localization, RTL and diacritics support</a>

View File

@ -5,8 +5,8 @@
<ul class="nav"> <ul class="nav">
<li><a href="#data-attributes">Declaring configuration in the <code>data-*</code> attributes</a></li> <li><a href="#data-attributes">Declaring configuration in the <code>data-*</code> attributes</a></li>
<li><a href="#amd">AMD compatibility</a></li> <li><a href="#amd">AMD compatibility</a></li>
<li><a href="#core-options-display">Display</a></li> <li><a href="#core-options-display">Displaying selections</a></li>
<li><a href="#core-options-results">Results</a></li> <li><a href="#core-options-results">Returning and displaying results</a></li>
</ul> </ul>
</li> </li>
<li> <li>
@ -27,12 +27,13 @@
</ul> </ul>
</li> </li>
<li> <li>
<a href="#adapters">Adapters</a> <a href="#adapters">The plugin system (adapters)</a>
<ul class="nav"> <ul class="nav">
<li><a href="#adapters-all">All adapters</a></li> <li><a href="#adapters-all">All adapters</a></li>
<li><a href="#selectionAdapter">Container (selection)</a></li> <li><a href="#selectionAdapter">Container (selection)</a></li>
<li><a href="#dataAdapter">Data set</a></li> <li><a href="#dataAdapter">Data set</a></li>
<li><a href="#dropdownAdapter">Dropdown</a></li> <li><a href="#dropdownAdapter">Dropdown</a></li>
<li><a href="#resultsAdapter">Results</a></li>
</ul> </ul>
</li> </li>
<li> <li>

View File

@ -140,7 +140,7 @@ $("select").select2({
</div> </div>
<h2 id="core-options-display"> <h2 id="core-options-display">
Display Displaying selections
</h2> </h2>
<p> <p>
@ -524,7 +524,7 @@ language: {
</p> </p>
<h2 id="core-options-results"> <h2 id="core-options-results">
Results Returning and displaying results
</h2> </h2>
<p> <p>

View File

@ -145,7 +145,7 @@ slug: community
</div> </div>
<p> <p>
You can find more information on triaging tickets in the You can find more information on getting involved with Select2 in the
<a href="https://github.com/select2/select2/blob/master/CONTRIBUTING.md#triaging-issues-and-pull-requests"> <a href="https://github.com/select2/select2/blob/master/CONTRIBUTING.md#triaging-issues-and-pull-requests">
contributing guide. contributing guide.
</a> </a>