An enhanced HTML 5 file input for Bootstrap 5.x/4.x./3.x with file preview, multiple selection, and more features.
Date: 25-Jul-2021
initialPreviewConfig
will include an additional property description
kv-zoom-description
container which will render the description from initialPreviewConfig
. This container will be hidden if no description found.kv-zoom-caption
container which will render the caption
or filename
from initialPreviewConfig
. If that is not found it will default to msgZoomModalHeading
.kv-zoom-size
container which will render the size
as set in initialPreviewConfig
.showDescriptionClose
(boolean). Will show a close icon to close the description bubble text when set to true
. Defaults to true
.sizeUnits
defaults to ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']
bitRateUnits
defaults to ['B/s', 'KB/s', 'MB/s', 'GB/s', 'TB/s', 'PB/s', 'EB/s', 'ZB/s', 'YB/s']
bytesToKB
which defaults to 1024
is used for conversion.inputGroupClass
- defaults to empty stringinput-group-lg
or input-group-sm
to get bootstrap input group stylesfileselect
event triggering.zoomData
to lazy load content asynchronously only on zoom.filebatchpreupload
event listening for effective aborting.Date: 19-Jun-2021
layoutTemplates.main2
to use wrapper container for the buttons to use mainClass
bs5
to support bootstrap 5.x icons and stylesDate: 19-May-2021
Date: 06-May-2021
$.fn.fileinputBsVersion
tabIndexConfig
for configuration of tab indices for each section
which defaults to (null value means no tabindex property will be set for that section) tabIndexConfig: {
caption: 500,
browse: 500,
remove: 500,
upload: 500,
cancel: null,
pause: null,
modal: -1
}
Date: 03-Mar-2021
resumableUploadOptions.retainErrorHistory
resumableUploadOptions.skipErrorsAndProceed
filemaxretries
Date: 12-Jan-2021
_getThumbFileId
.showPreview
is false.fileuploaded
event for non-resumable ajax async uploads.getFilesSize
to return sum of bytes of all files.Date: 24-Oct-2020
aria-labelledby
binding.preProcessUpload
callback that can convert / encrypt file content before upload.minFileSize
to -1 to allow zero byte files to be uploaded.Date: 15-Jul-2020
removeThumb
validation for in readFiles throwError
method.Date: 20-Jun-2020
Date: 11-Jun-2020
showConsoleLogs
to false
as default.…
instead of three dots.