Mouse interaction primitives to build a browser based WYSWYG editor.
Features:
- click to select
- shift-click add to selection (toggle)
- rubber-band (elastic) multi-select tool
- drag-move: moves all selected elements together
No dependencies, easy to integrate in large projects.
See demo.ts, demo.html for an example.