@f/form-elements

A list of the elements that can have values inside of a form

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Feb 9, 2016Feb 9, 2016Minified + gzip package size for @f/form-elements in KB

Readme

form-elements

Build status Git tag NPM version Code style

A list of the elements that can have values inside of a form. Just exports an array of form element names.

Installation

$ npm install @f/form-elements

Usage

var formElements = require('@f/form-elements')

function getCtrls (form) {
  return form.querySelectorAll(formElements.join(','))
}

License

MIT

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.