@dashweave/canvas-host
v0.1.2
Published
Reusable Vue and GridStack canvas host for DashWeave.
Downloads
280
Maintainers
Readme
@dashweave/canvas-host
Reusable Vue and GridStack canvas host package for DashWeave.
Scope
- widget drag/drop, grid resize, selection, and hover overlays
- widget-library drag protocol helpers
- optional toolbar, library panel, inspector shell, and default inspector components
- shell adapter contracts for host-owned editor state
Integration contract
This package focuses on canvas behavior, not on host-specific document state.
Hosts are expected to provide:
- widget library entries
- drag payload writers
- widget factory logic
- persistence and inspector wiring
Consumer usage
import { CanvasHost, createGridAdapter } from '@dashweave/canvas-host'The package keeps layout and selection behavior reusable while leaving document storage, permissioning, and project-specific editor state outside the package.
