cFileUploader
Component that allows a user to upload files.
|
Description |
acceptfiles |
List of filetypes, that are allowed to upload (https://www.w3schools.com/tags/att_input_accept.asp) |
autoSubmit |
Submits upload immediately after selecting file |
backgroundColor |
Bootstrap color of the background |
dragDrop |
Creates a drag/drop area for files |
dragdropWidth |
Width of drag/drop area |
filename |
File to upload |
default |
Default value |
form |
The form, the field applies to |
forceDir |
Forces the creation of the upload dir if the directory does not exists. |
label |
label to display |
labelBackgroundColor |
Bootstrap color of the background |
labelColor |
Bootstrap color of the label (font) |
labelPosition |
Position of the label |
maxFileCount |
Max. number of files to upload |
maxFileSize |
Max. size of the files in bytes |
previewHeight |
Height of preview window in pixels |
previewWidth |
Width of preview window in pixels |
sequencial |
Upload multiple files sequentially |
sequentialcount |
Number of upload streams |
showDelete |
Show delete button (to delete uploaded file) |
showDownload |
Show download button (to redownload uploaded file) |
showPreview |
Show preview (usually for images) |
statusBarWidth |
In pixels |
textColor |
Bootstrap color of the text. |
uploadDir |
Directory to upload to. |
PHP Events
No additional events
JavaScript Events
No additional events