Releases: aberezkin/ng2-image-upload
Releases · aberezkin/ng2-image-upload
v1.0.0-rc.0
Bug Fixes
- css: prefix all classes to prevent external style cascading (#114) (277bcf7)
- dependencies: add http module to imports (24ee042), closes #80
- input: fixed extensions not working when not specified (#83) (204ab16), closes #82
- output: emit onRemove when all files are cleared (#85) (f4b4c05), closes #84
Chores
Features
- input: added the ability to pass a beforeUpload function that can modify each file/url or abort entirely (#101) (9a883b8), closes #59
- input: allow clear button text to be customised (#100) (df66c86), closes #97
- allow custom form data (098febd)
- allow custom styling - fixes #93 (#116) (a1aa8f4)
- retrieve files on open (#130) (45e4472)
BREAKING CHANGES
- api:
headers
now accepts a map instead of an array.
Typescript signature: [name: string]: any;
- api:
onFileUploadFinish
renamed touploadFinished
- api:
onRemove
renamed toremoved
- api:
isPending
renamed touploadStateChanged