home / docs / sections

sections: javascript_plugins:javascript-datasette-manager-selectors

This data as json

id page ref title content breadcrumbs references
javascript_plugins:javascript-datasette-manager-selectors javascript_plugins javascript-datasette-manager-selectors Selectors These are available on the selectors property of the datasetteManager object. const DOM_SELECTORS = { /** Should have one match */ jsonExportLink: ".export-links a[href*=json]", /** Event listeners that go outside of the main table, e.g. existing scroll listener */ tableWrapper: ".table-wrapper", table: "table.rows-and-columns", aboveTablePanel: ".above-table-panel", // These could have multiple matches /** Used for selecting table headers. Use makeColumnActions if you want to add menu items. */ tableHeaders: `table.rows-and-columns th`, /** Used to add "where" clauses to query using direct manipulation */ filterRows: ".filter-row", /** Used to show top available enum values for a column ("facets") */ facetResults: ".facet-results [data-column]", }; ["JavaScript plugins"] []
Powered by Datasette · Queries took 1.407ms