UNPKG

formit

Version:

A speedy way to create HTML forms.

1 lines 879 B
{"dependencies":[{"name":"./index.js","dynamic":true}],"generated":{"html":"<!doctype html>\n<html>\n <head>\n <link rel=\"stylesheet\" href=\"https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css\">\n </head>\n <body>\n <form>\n <div id=\"form\"></div>\n </form>\n <script src=\"/5f3ebe74c2730a28ec7863ec9edf59bc.js\"></script>\n <script>\n /**\n * Example\n */\n\n Formit('#form', [\n {\n label: 'First name',\n type: 'text',\n placeholder: 'First',\n autofocus: true,\n },\n {\n label: 'Last name',\n placeholder: 'Last',\n type: 'text',\n },\n {\n type: 'submit',\n value: 'Go!'\n },\n ])\n </script>\n </body>\n</html>\n"},"hash":"d804970853f5e2ca3438c56eb4ab489d","cacheData":{}}