|
@@ -32,19 +32,7 @@ An enhanced HTML 5 file input for Bootstrap 3.x with file preview for images and
|
|
|
11. Upload action defaults to form submit. Supports an upload route/server action parameter for custom ajax based upload.
|
|
|
12. Triggers JQuery events for advanced development. Events currently available are `filereset`, `fileclear`, `filecleared`, `fileloaded`, and `fileerror`.
|
|
|
13. Disabled and readonly file input support.
|
|
|
-14. Size of the entire plugin is less than 6KB if gzipped. The minified assets are less than 16KB (about 13KB for the minified JS and 3KB for the minified CSS).
|
|
|
-
|
|
|
-## Release 2.0.0 Features
|
|
|
-
|
|
|
-1. (enh #12, #13, #14): Various enhancements and fixes.
|
|
|
-2. (enh #15): Enhanced validation of file size through `maxFileSize` configuration.
|
|
|
-3. New plugin events added: `fileerror`, `fileloaded`, `filecleared`.
|
|
|
-4. New plugin methods added: `disable`, `enable`
|
|
|
-5. Enhanced configurable templates for previewing image, text, and other files (and a generic template).
|
|
|
-6. Make caption text configurable through a new parameter `msgSelected`.
|
|
|
-7. Correct calculation of files selected when `initPreview` is false.
|
|
|
-8. Automatic scale images for preview, when images are too wide to fit in container.
|
|
|
-9. Added delimiter option for `initialPreview` to pass multiple content delimited as a string.
|
|
|
+14. Size of the entire plugin is less than 6KB if gzipped. The minified assets are less than 16KB (about 13KB for the minified JS and 3KB for the minified CSS).
|
|
|
|
|
|
## Demo
|
|
|
|