Skip to content
API reference

API reference

The package has no generated API page. See the public exports and types; implementation details such as state collections remain private.

createMaosaicoState owns frames, minima and layout mode. Register and unregister panes through that state, then call destroy() at host teardown. arrangeTiles computes frames from IDs, minima and container bounds. The root adds React rendering; ./headless keeps the layout model separate.

  • @fungi.computer/maosaico
  • @fungi.computer/maosaico/headless

Type declarations ship beside each JavaScript entrypoint. The README owns usage, lifetime rules and limitations.