home / docs / sections_fts

sections_fts: 61

This data as json

rowid title content
61 The datasette_init event Datasette emits a custom event called datasette_init when the page is loaded. This event is dispatched on the document object, and includes a detail object with a reference to the datasetteManager object. Your JavaScript code can listen out for this event using document.addEventListener() like this: document.addEventListener("datasette_init", function (evt) { const manager = evt.detail; console.log("Datasette version:", manager.VERSION); });
Powered by Datasette · Queries took 3.674ms