2.2.1 • Published 5 months ago
jb-file-input v2.2.1
jb file input
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:
see
jb-file-input/react
; if you want to use this component in reactsee All JB Design system Component List for more components
use Contribution Guide if you want to contribute in this component.