A customizable replacement for native file inputs.
npm install file-inputA customizable replacement for native file inputs.
- Home: https://github.com/twhb/file-input.js
- Demo: https://twhb.github.io/file-input.js/demo.html
- npm: file-input
Creates and returns a new HTMLButtonElement, modified to mimic a native file input in the following ways:
- File input via click-and-select
- File input via drag-and-drop
- .files
- .multiple
- .accept
- change event