0.0.2 • Published 7 years ago

arup-data-entry-form v0.0.2

Weekly downloads
6
License
-
Repository
-
Last release
7 years ago

Data Entry Form Component

This component is designed to be a standalone component that is importable into any environment and just work out of the box.

It is a data-driven component, that can be built, packaged and versioned independently in an NPM repository.

Installation

npm install arup-data-entry-form --save

To run it, you can do one of the following: 1. ` import getDataEntryForm from 'arup-data-entry-form';

getDataEntryForm({ el: '#appBody', onUpdate: function(newData) { console.warn(newData); }, customCss: false }); ` 2. Add a script tag to your markup. There will be a global method available; window.ap.getDataEntryForm(...)