options.html 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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="#setting-default-options">Changing default options</a></li>
  7. <li><a href="#data-attributes">Declaring configuration in the HTML</a></li>
  8. <li><a href="#amd">AMD compatibility</a></li>
  9. </ul>
  10. </li>
  11. <li>
  12. <a href="#data-adapters">Data adapters</a>
  13. <ul class="nav">
  14. <li>
  15. <a href="#data-adapters-select-tag">Using a <code>&lt;select&gt;</code></a>
  16. </li>
  17. <li>
  18. <a href="#data">Loading data from an array</a>
  19. </li>
  20. <li>
  21. <a href="#ajax">Connecting to a remote data source</a>
  22. </li>
  23. </ul>
  24. </li>
  25. <li>
  26. <a href="#selections">Displaying selections</a>
  27. <ul class="nav">
  28. <li>
  29. <a href="#placeholder">Showing a placeholder</a>
  30. </li>
  31. <li>
  32. <a href="#allowClear">Clearing selections</a>
  33. </li>
  34. <li>
  35. <a href="#templateSelection">Templating</a>
  36. </li>
  37. </ul>
  38. </li>
  39. <li>
  40. <a href="#results">Displaying results</a>
  41. <ul class="nav">
  42. <li><a href="#can-i-change-when-search-results-are-loaded">Controlling result loading</a></li>
  43. <li><a href="#can-i-change-how-selecting-results-works">Making selections</a></li>
  44. <li><a href="#can-i-change-how-the-dropdown-is-placed">Placement</a></li>
  45. </ul>
  46. </li>
  47. <li>
  48. <a href="#events">Events</a>
  49. <ul class="nav">
  50. <li><a href="#events-public">Public jQuery events</a></li>
  51. <li><a href="#events-internal">Internal events</a></li>
  52. </ul>
  53. </li>
  54. <li>
  55. <a href="#adapters">The plugin system (adapters)</a>
  56. <ul class="nav">
  57. <li><a href="#adapters-all">All adapters</a></li>
  58. <li><a href="#selectionAdapter">Container (selection)</a></li>
  59. <li><a href="#dataAdapter">Data set</a></li>
  60. <li><a href="#dropdownAdapter">Dropdown</a></li>
  61. <li><a href="#resultsAdapter">Results</a></li>
  62. </ul>
  63. </li>
  64. <li>
  65. <a href="#backwards-compatibility">Deprecated options</a>
  66. <ul class="nav">
  67. <li><a href="#compat-matcher">Simplified function for matching data objects</a></li>
  68. <li><a href="#initSelection">Old initial selections with <code>initSelection</code></a></li>
  69. <li><a href="#query">Querying old data with <code>query</code></a></li>
  70. <li><a href="#input-fallback">Compatibility with <code>&lt;input type="text" /&gt;</code></a></li>
  71. </ul>
  72. </li>
  73. </ul>
  74. <a class="back-to-top" href="#top">
  75. Back to top
  76. </a>
  77. </nav>