@f/form-elements
v1.0.0
Published
A list of the elements that can have values inside of a form
Downloads
634
Readme
form-elements
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