@f/form-elements

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

Stats

StarsIssuesVersionUpdatedCreatedSize
@f/form-elements
001.0.06 years ago6 years agoMinified + 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.