Vue wrapper for the Web Component from
@dusrel/image-crop. Supports v-model with the crop rect
(natural pixels): setting it calls the element's setCrop(),
and every crop-change emits update:modelValue + crop-change.
The element module is imported lazily on mount, so importing
this component during SSR is safe. The element itself is
reachable via a template ref's element() method.
Vue wrapper for the Web Component from
@dusrel/image-crop. Supports v-model with the crop rect
(natural pixels): setting it calls the element's setCrop(),
and every crop-change emits update:modelValue + crop-change.
The element module is imported lazily on mount, so importing
this component during SSR is safe. The element itself is
reachable via a template ref's
element()method.