svg-editor-tools
v1.0.0
Published
Primitives for building a browser based WYSWYG editor. Demo provided.
Downloads
2
Readme
SVG Editor Tools
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.
Demo: https://dvictor.github.io/svg-editor-tools/demo.html