v1.1.0: Add Loading Support
Change Log:
-
New props:
show-loading,loading-size,loading-colorto 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-containerinstead of being ignored. Usually you need to setposition: absoluteon 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
loadingindicates whether an image is loading. -
Bundle size has increased by 3kb.