# ajjya-custom-form

> Pure javascript input stylerinput styler

Latest version **1.0.4** (published 2021-02-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install ajjya-custom-form
pnpm add ajjya-custom-form
yarn add ajjya-custom-form
bun add ajjya-custom-form
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2021-02-19 |
| First published | 2021-02-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 30.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Vladyslava Prykhodko |
| Maintainers | vladyslava.prykhodko |
| Keywords | css, javascript, input, form, styler |

## Links

- npm: https://www.npmjs.com/package/ajjya-custom-form
- Repository: https://github.com/Ajjya/Custom-form
- Homepage: https://github.com/Ajjya/Custom-form#readme
- Issues: https://github.com/Ajjya/Custom-form/issues
- npm.io page: https://npm.io/package/ajjya-custom-form

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.4 (latest) — 2021-02-19
- 1.0.2 — 2021-02-19
- 1.0.1 — 2021-02-17
- 1.0.0 — 2021-02-17

## README

# Custom-form
> Javascript custom select, checkbox, radiobox, input['file']

### Installation
* [Download the latest release](https://github.com/Ajjya/Custom-form/archive/master.zip)
* Clone the repository: git clone [Clone](https://github.com/Ajjya/Custom-form.git)

In the head tag add:
```html
	<link href="path-to-library/style.min.css" rel="stylesheet">
```

Before your closing body tag add:
```html
  <script type="text/javascript" src="path-to-library/polyfill.min.js"></script>
  <script type="text/javascript" src="path-to-library/customForm.js"></script>
```
Or by npm/yarn
```html
  yarn add ajjya-custom-form
  OR
  npm install ajjya-custom-form
```

Then you can import:
```
  import CustomForm from 'ajjya-custom-form';
```

And add css file:
```
  @import 'node_modules/ajjya-custom-form/style.min.css';
```

Or scss file
```
  @import 'node_modules/ajjya-custom-form/customForm';
```

### Usage
Then you can use library in next way:
```
  document.addEventListener('DOMContentLoaded', function () {
    const checkboxes = document.querySelectorAll('input[type="radio"]');
    checkboxes.forEach((item) => {
      new CustomForm(item);
    });
  });
```

You can see full code in example folder.

---
_Source: https://npm.io/package/ajjya-custom-form · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
