options-old.html 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <nav class="s2-docs-sidebar hidden-print hidden-xs hidden-sm">
  2. <ul class="nav s2-docs-sidenav">
  3. <li>
  4. <a href="#core-options">Core Options</a>
  5. <ul class="nav">
  6. <li><a href="#data-attributes">Declaring configuration in the <code>data-*</code> attributes</a></li>
  7. <li><a href="#amd">AMD compatibility</a></li>
  8. <li><a href="#core-options-display">Displaying selections</a></li>
  9. <li><a href="#core-options-results">Returning and displaying results</a></li>
  10. </ul>
  11. </li>
  12. <li>
  13. <a href="#dropdown">Dropdown</a>
  14. <ul class="nav">
  15. <li><a href="#dropdownParent">Attached to body</a></li>
  16. <li><a href="#dropdown-attachContainer">Attached below the container</a></li>
  17. <li><a href="#dropdown-search">Search</a></li>
  18. <li><a href="#dropdown-select-on-close">Select the highlighted option on close</a></li>
  19. <li><a href="#closeOnSelect">Close the dropdown when a result is selected</a></li>
  20. </ul>
  21. </li>
  22. <li>
  23. <a href="#events">Events</a>
  24. <ul class="nav">
  25. <li><a href="#events-public">Public events</a></li>
  26. <li><a href="#events-internal">Internal events</a></li>
  27. </ul>
  28. </li>
  29. <li>
  30. <a href="#adapters">The plugin system (adapters)</a>
  31. <ul class="nav">
  32. <li><a href="#adapters-all">All adapters</a></li>
  33. <li><a href="#selectionAdapter">Container (selection)</a></li>
  34. <li><a href="#dataAdapter">Data set</a></li>
  35. <li><a href="#dropdownAdapter">Dropdown</a></li>
  36. <li><a href="#resultsAdapter">Results</a></li>
  37. </ul>
  38. </li>
  39. <li>
  40. <a href="#setting-default-options">Setting default options</a>
  41. </li>
  42. <li>
  43. <a href="#backwards-compatibility">Backwards compatibility</a>
  44. <ul class="nav">
  45. <li><a href="#compat-matcher">Simplified function for matching data objects</a></li>
  46. <li><a href="#initSelection">Old initial selections with <code>initSelection</code></a></li>
  47. <li><a href="#query">Querying old data with <code>query</code></a></li>
  48. <li><a href="#input-fallback">Compatibility with <code>&lt;input type="text" /&gt;</code></a></li>
  49. </ul>
  50. </li>
  51. </ul>
  52. <a class="back-to-top" href="#top">
  53. Back to top
  54. </a>
  55. </nav>