Skip to content

v1.1.0: Add Loading Support

Choose a tag to compare

@zhanziyang zhanziyang released this 26 Oct 07:04
· 84 commits to master since this release

Change Log:

  • New props: show-loading, loading-size, loading-color to show/hide/style the built-in spinner at the bottom right corner that will show up only when a image is loading (will but not yet drawn on canvas).

  • New events: loading-start, loading-end

  • Unnamed (default) slots now will be appended to the .croppa-container instead of being ignored. Usually you need to set position: absolute on these slots or it will expand the container. It can be useful to make a custom loading if you find the built-in loading not fancy enough.

  • New boolean type state data loading indicates whether an image is loading.

  • Related issue: #41 , #40

  • Bundle size has increased by 3kb.