1.0.7 • Published 3 years ago

complex-control v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

complex-control

A simple way to send complex data structures to backend server

How to use?

Is very simple, follow the steps below:

  1. include src/ComplexControl.js in the html page
  2. each complex control in the page must have the class complex-control
  3. each complex control in the page must have a hidden field with the class complex-control-value
  4. each field must have a data-name attribute. This attribute act as the property name in the final structure/object
  5. call the helper ComplexControl.refresh() before submit your changes
  6. enjoy it!

Example

https://codepen.io/jomisacu/pen/JjNPExO

1.0.7

3 years ago

1.0.6

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago