sklearn/doc/js/scripts/api-search.js

13 lines
428 B
JavaScript
Raw Normal View History

2024-08-05 09:32:03 +02:00
/**
* 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
});
});