alexanderspevak / elementCreator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.

how to use

examples:

input:

{ items:[ { type:'input',label:'checkbox',subtype:{ type:'checkbox',value:'2020-12-20' } } ] }

possible subtype values : 'text', 'number', 'button', 'date', 'checkbox', 'radio'

button:

{items:[ {type:'button',label:'button',innerText: 'new button'} ]}

textArea:

{items:[ {type:'textarea',label:'textArea',value: 'new text'} ]}

About


Languages

Language:TypeScript 67.2%Language:JavaScript 20.6%Language:HTML 12.2%