Ng2 Image Upload Versions Save

Angular 2 component for image uploading

v1.0.0-rc.0

6 years ago

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

  • api: made api conform to angular conventions (#87) (29d288e)

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 to uploadFinished
  • api: onRemove renamed to removed
  • api: isPending renamed to uploadStateChanged

v0.6.5

6 years ago

Bug Fixes

  • 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

v0.6.4

6 years ago