1.1.8 • Published 3 months ago
@zerozillatechnologies/form-js-playground v1.1.8
@zerozillatechnologies/form-js-playground
A tool to try out and explore @zerozillatechnologies/form-js in a playful manner.
Usage
Integrate the playground into your application:
import { Playground } from '@zerozillatechnologies/form-js-playground';
const schema = {
type: 'default',
components: [
{
key: 'creditor',
label: 'Creditor',
type: 'textfield',
validate: {
required: true,
},
},
],
};
const data = {
creditor: 'John Doe Company',
};
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/@zerozillatechnologies/form-js@0.10.0/dist/assets/form-js.css" />
<link rel="stylesheet" href="https://unpkg.com/@zerozillatechnologies/form-js@0.10.0/dist/assets/form-js-editor.css" />
<link rel="stylesheet" href="https://unpkg.com/@zerozillatechnologies/form-js@0.10.0/dist/assets/form-js-playground.css" />
Resources
License
Use under the terms of the bpmn.io license.
1.1.8
3 months ago
1.1.7
3 months ago
1.1.6
4 months ago
1.1.5
4 months ago
1.1.4
4 months ago
1.1.3
4 months ago
1.1.1
4 months ago
1.1.2
4 months ago
1.1.0
4 months ago
1.0.9
4 months ago
1.0.8
4 months ago
1.0.7
4 months ago
1.0.6
4 months ago
1.0.5
4 months ago
1.0.4
4 months ago
1.0.3
4 months ago
1.0.2
4 months ago
1.0.1
4 months ago
1.0.0
4 months ago