clean-web-ui-form-builder
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

Form Builder

Overview

A small and simple form builder, written in pure Vanilla JavaScript (web components).

The idea with this form builder is to be able to build framework agnostic forms. You can reuse the same component with React, Angular, Vanilla JS...etc. The way how it works is that you have to pass configuration and set of controls that you want to display and the rest is handled by the form builder.

Installation

Install with npm:

npm i clean-web-ui-form-builder --save

Usage

If you are using typescript, in your main.ts (or simular) file:

import 'clean-web-ui-form-builder';
import { initFormBuilder } from 'clean-web-ui-form-builder';

// this will register the web component
initFormBuilder();

With JavaScript, just import the script in the html body:

<script src="clean-web-ui-form-builder.js"></script>
<script>
// this will register the web component
initFormBuilder();
</script>

Readme

Keywords

none

Package Sidebar

Install

npm i clean-web-ui-form-builder

Weekly Downloads

4

Version

1.2.0

License

MIT

Unpacked Size

322 kB

Total Files

139

Last publish

Collaborators

  • bdimitrijoski