Skip to content

v0.1.1

Choose a tag to compare

@zhanziyang zhanziyang released this 17 Jul 14:34
· 225 commits to master since this release

Change Log

  • Rename method reset to remove. reset will be deprecated in the future, because it does not describe what it does correctly.
  • Allow change default component name 'croppa' to anything you want, using the second argument in Vue.use().
  • Add new prop initial-image, which receive an image url as its value and achieves the same goal as 'initial' slot. But it is useful when you want to set cross origin image as initial, which the slot method can't achieve.
  • Change accept prop's default value to '.jpg,.jpeg,.png,.gif,.bmp,.webp,.svg,.tiff', due to that accpet='image/*' is slow on webkit browsers.
  • Ignore non-file dragging.
  • Expose croppa's component definition object. Now you can get it with require('vue-croppa').component to register manually.