@marstamm/diagram-js-touch
v0.1.1
Published
> [!IMPORTANT] > **This is a hackday project and not intended for production use.**
Readme
[!IMPORTANT]
This is a hackday project and not intended for production use.
@marstamm/diagram-js-touch
This diagram-js extension aims to provide touch support for diagram-js based applications, such as the widely popular bpmn-js.
Usage
Install it via npm:
npm i @marstamm/diagram-js-touchAnd include it in you application:
import Modeler from "bpm-js/lib/Modeler";
import touchModule from "@marstamm/diagram-js-touch";
var modeler = new Modeler({
container: "#canvas",
additionalModules: [touchModule],
});