jb-file-input
TypeScript icon, indicating that this package has built-in type declarations

2.4.0 • Public • Published

jb file input

Published on webcomponents.org GitHub license NPM Downloads

multi file upload web component this component just let user select file and wait for you to get the value and handle it yourself and it's not handling any kind of upload or something sample: https://codepen.io/javadbat/pen/xxgmWNB

using with JS frameworks

to use this component in react see jb-file-input/react;

usage

just import package with import or from js CDN and write web component tag in your html

<script>
  import 'jb-file-input'
</script>

<jb-file-input></jb-file-input>

placeholder title

you can change file input place holder text by set placeholder-title="select your special file" attribute in dom

reset value

you can reset input file value by dom.value = null or dom.resetValue()

Other Related Docs:

Package Sidebar

Install

npm i jb-file-input

Weekly Downloads

2

Version

2.4.0

License

MIT

Unpacked Size

260 kB

Total Files

57

Last publish

Collaborators

  • javadbat