Canvas element to render into.
OptionalurlParsed URL parameters. Defaults to readUrlParams() so the standalone
app picks up ?src, ?theme, ?debug, etc. from window.location.
Embedders pass their own (or {...}) to bypass URL parsing.
OptionalpatchMonkey-patch console.log/warn/error/info/debug so the debug console
UI can replay messages later. Defaults to true. Embedders should set
this to false unless they own the host page's console output.
OptionalwarmWarm the blosc codec module cache. Defaults to true. Saves ~771ms on the first compressed-chunk decompress for the standalone app; embed use cases rarely need it (the codec loads on demand anyway).
OptionalvalidateRun validateAndLog(config) at startup. Defaults to true. Off by
default for embedders since the (immutable) config has already been
validated at compile time.
Options for bootstrapStandalone.
The standalone-app entry point (
main.ts) passes nothing beyondcanvas, so every flag defaults to the standalone viewer behavior.Embedded callers typically construct LuxarApp directly and skip this function entirely. If they DO call it, they usually want
patchConsole: falseandwarmCodecs: falseto avoid touching shared host-page state.