1.6.3-alpha.2 • Published 4 months ago

@caredocs/form-js-playground v1.6.3-alpha.2

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
4 months ago

@caredocs/form-js-playground

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

Playground Screenshot

Usage

Integrate the playground into your application:

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

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

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

Styling

For proper styling include the necessary stylesheets, and font used:

<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,600;1,400&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap" rel="stylesheet">

<link rel="stylesheet" href="https://unpkg.com/@caredocs/form-js@0.10.0/dist/assets/form-js.css">
<link rel="stylesheet" href="https://unpkg.com/@caredocs/form-js@0.10.0/dist/assets/form-js-editor.css">
<link rel="stylesheet" href="https://unpkg.com/@caredocs/form-js@0.10.0/dist/assets/form-js-playground.css">

Resources

License

Use under the terms of the bpmn.io license.