75abd407c8
This adds more questions that will eventually get answers. Most of these questions are already answered either in the current documentation or on Stack Overflow, so it shouldn't be too difficult to fill out answers for them.
85 lines
2.9 KiB
HTML
85 lines
2.9 KiB
HTML
<nav class="s2-docs-sidebar hidden-print hidden-xs hidden-sm">
|
|
<ul class="nav s2-docs-sidenav">
|
|
<li>
|
|
<a href="#core-options">Core Options</a>
|
|
<ul class="nav">
|
|
<li><a href="#data-attributes">Declaring configuration in the <code>data-*</code> attributes</a></li>
|
|
<li><a href="#amd">AMD compatibility</a></li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a href="#data-adapters">Data adapters</a>
|
|
<ul class="nav">
|
|
<li>
|
|
<a href="#data-adapters-select-tag">Using a <code><select></code></a>
|
|
</li>
|
|
<li>
|
|
<a href="#data">Loading data from an array</a>
|
|
</li>
|
|
<li>
|
|
<a href="#ajax">Connecting to a remote data source</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a href="#selections">Displaying selections</a>
|
|
<ul class="nav">
|
|
<li>
|
|
<a href="#placeholder">Showing a placeholder</a>
|
|
</li>
|
|
<li>
|
|
<a href="#allowClear">Resetting selections back to the placeholder</a>
|
|
</li>
|
|
<li>
|
|
<a href="#templateSelection">Templating</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a href="#results">Displaying results</a>
|
|
</li>
|
|
<li>
|
|
<a href="#dropdown">Dropdown</a>
|
|
<ul class="nav">
|
|
<li><a href="#dropdownParent">Attached to body</a></li>
|
|
<li><a href="#dropdown-attachContainer">Attached below the container</a></li>
|
|
<li><a href="#dropdown-search">Search</a></li>
|
|
<li><a href="#dropdown-select-on-close">Select the highlighted option on close</a></li>
|
|
<li><a href="#closeOnSelect">Close the dropdown when a result is selected</a></li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a href="#events">Events</a>
|
|
<ul class="nav">
|
|
<li><a href="#events-public">Public events</a></li>
|
|
<li><a href="#events-internal">Internal events</a></li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a href="#adapters">The plugin system (adapters)</a>
|
|
<ul class="nav">
|
|
<li><a href="#adapters-all">All adapters</a></li>
|
|
<li><a href="#selectionAdapter">Container (selection)</a></li>
|
|
<li><a href="#dataAdapter">Data set</a></li>
|
|
<li><a href="#dropdownAdapter">Dropdown</a></li>
|
|
<li><a href="#resultsAdapter">Results</a></li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a href="#setting-default-options">Setting default options</a>
|
|
</li>
|
|
<li>
|
|
<a href="#backwards-compatibility">Backwards compatibility</a>
|
|
<ul class="nav">
|
|
<li><a href="#compat-matcher">Simplified function for matching data objects</a></li>
|
|
<li><a href="#initSelection">Old initial selections with <code>initSelection</code></a></li>
|
|
<li><a href="#query">Querying old data with <code>query</code></a></li>
|
|
<li><a href="#input-fallback">Compatibility with <code><input type="text" /></code></a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<a class="back-to-top" href="#top">
|
|
Back to top
|
|
</a>
|
|
</nav>
|