File: api-search.js

package info (click to toggle)
scikit-learn 1.8.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 26,132 kB
  • sloc: python: 224,867; cpp: 5,790; ansic: 846; makefile: 190; javascript: 179
file content (12 lines) | stat: -rw-r--r-- 428 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * This script is for initializing the search table on the API index page. See
 * DataTables documentation for more information: https://datatables.net/
 */

document.addEventListener("DOMContentLoaded", function () {
  new DataTable("table.apisearch-table", {
    order: [], // Keep original order
    lengthMenu: [10, 25, 50, 100, { label: "All", value: -1 }],
    pageLength: -1, // Show all entries by default
  });
});