Binds the adapter as soon as the document is ready, unless opted out.
The script tag is the whole integration — a Quarto author adds it in the
header and writes no JavaScript — so loading the bundle has to be enough to
start watching. Set window.maidrObservableAutoInit = false before the
script loads to keep the exported functions and skip the observer.
Returns (()=>void) |null
A function that stops watching, or null when auto-init is off.
Binds the adapter as soon as the document is ready, unless opted out.
The script tag is the whole integration — a Quarto author adds it in the header and writes no JavaScript — so loading the bundle has to be enough to start watching. Set
window.maidrObservableAutoInit = falsebefore the script loads to keep the exported functions and skip the observer.