UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

19 lines 1.08 kB
/** * The `?debug=1` / `?debug=0` seed (also the double-encoded `?debug%3D1` * form): persist the choice under the schema-typed `efp-debugMode` key, scrub * the param, reload. * * The reload stays ON PURPOSE (retirement plan §4.5 allows either outcome — * hoisting the seed before `loadConfig` was investigated and rejected): * - the seed runs inside the `!ignoreQuery`-gated custom-command chain, and * `ignoreQuery` is only known once `loadConfig` has merged the layers — a * pre-config seed would fire (and scrub the host page URL) for embeds that * isolate themselves from the query; * - the debug UI itself hangs off the boot-time `is-debug` constant * (Layout renders the panel from it), so without a reload the seeding load * would not show the panel — the one user-visible point of `?debug=1`; * - the runtime path (`FloorPlan.applyParameters('debug=1')`) needs the * reload regardless: the effective config is frozen mid-session. */ export declare function handleDebugMode(): void; //# sourceMappingURL=handleDebugMode.d.ts.map