@expofp/floorplan
Version:
Interactive floor plan library for expos and events
13 lines • 600 B
TypeScript
import type RootStore from '../RootStore';
/**
* Point the store at the container this FloorPlan was handed, and measure it.
*
* Exported apart from `initUi` because `floorplan.ready` re-runs it once the
* render target exists. Idempotent: it re-points the single ResizeObserver
* instead of stacking another one up, and `destroyUiHandlers()` disconnects
* that one with the plan.
*/
export declare function bindRootElement(store: RootStore): void;
export default function initUi(store: RootStore): void;
export declare function destroyUiHandlers(): void;
//# sourceMappingURL=init-ui.d.ts.map