@bpmn-io/form-js-playground

A form-js playground

Usage no npm install needed!

<script type="module">
  import bpmnIoFormJsPlayground from 'https://cdn.skypack.dev/@bpmn-io/form-js-playground';
</script>

README

@bpmn-io/form-js-playground

CI

A tool to try out and explore @bpmn-io/form-js in a playful manner.

Playground Screenshot

Usage

Integrate the playground into your application:

import '@bpmn-io/form-js/dist/assets/form-js.css';
import '@bpmn-io/form-js/dist/assets/form-js-editor.css';
import '@bpmn-io/form-js/dist/assets/dragula.css';
import '@bpmn-io/form-js-playground/dist/assets/form-js-playground.css';

import { Playground } from '@bpmn-io/form-js-playground';

const playground = new Playground({
  container: document.querySelector('#container'),
  schema,
  data
});

const {
  schema,
  data
} = playground.getState();

Resources

License

Use under the terms of the bpmn.io license.