# @f/is-element-submittable

> Check whether or not a form control is serializable

Latest version **1.0.0** (published 2016-02-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @f/is-element-submittable
pnpm add @f/is-element-submittable
yarn add @f/is-element-submittable
bun add @f/is-element-submittable
```

## 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.0 |
| Published | 2016-02-10 |
| First published | 2016-02-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | f |

## Links

- npm: https://www.npmjs.com/package/@f/is-element-submittable
- Repository: https://github.com/micro-js/is-element-submittable
- Homepage: https://github.com/micro-js/is-element-submittable#readme
- Issues: https://github.com/micro-js/is-element-submittable/issues
- npm.io page: https://npm.io/package/@f/is-element-submittable

## Recent versions

- 1.0.0 (latest) — 2016-02-10

## README

# is-element-submittable

[![Build status][travis-image]][travis-url]
[![Git tag][git-image]][git-url]
[![NPM version][npm-image]][npm-url]
[![Code style][standard-image]][standard-url]

Check whether or not a form control is serializable. Copied from [submittable](https://github.com/yields/submittable), but made into an npm compatible micro module.

## Installation

    $ npm install @f/is-element-submittable

## Usage

```js
var isSubmittable = require('@f/is-element-submittable')

isSubmittable(<button type='submit'></button>) // false
isSubmittable(<input type='text' />)           // true
```

## API

### isSubmittable(element)

- `element` - The DOM element you want to check for serializability

**Returns:** A boolean value indicating whether or not the element contains a serializable value.

## License

MIT

[travis-image]: https://img.shields.io/travis/micro-js/is-element-submittable.svg?style=flat-square
[travis-url]: https://travis-ci.org/micro-js/is-element-submittable
[git-image]: https://img.shields.io/github/tag/micro-js/is-element-submittable.svg
[git-url]: https://github.com/micro-js/is-element-submittable
[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat
[standard-url]: https://github.com/feross/standard
[npm-image]: https://img.shields.io/npm/v/@f/is-element-submittable.svg?style=flat-square
[npm-url]: https://npmjs.org/package/@f/is-element-submittable

---
_Source: https://npm.io/package/@f/is-element-submittable · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
