Cropper Component API

Description

A Blazor component that provides image and canvas cropping functionality via JavaScript interop, wrapping the underlying Cropper.js behavior.

Properties
Name Type DefaultDescription
Class
string
null
CropperComponentType CropperComponentType.Image
ErrorLoadImageClass
string
null
ErrorLoadImageContent null
ErrorLoadImageSrc
string
null
InputAttributes
Dictionary<string, object>
null
IsAvailableInitCropper
bool
True
IsErrorLoadImage
bool
False
Options Options
Src
string
null
Event Callbacks
Name Type Description
OnCropEndEvent A shortcut to the cropend event.
OnCropEvent A shortcut to the crop event.
OnCropMoveEvent A shortcut to the cropmove event.
OnCropStartEvent A shortcut to the cropstart event.
OnErrorLoadImageEvent A shortcut to the image loading error event.
OnLoadImageEvent A shortcut to the load image event.
OnReadyEvent A shortcut to the ready event.
OnZoomEvent A shortcut to the zoom event.
Methods
Name Parameters Return Description
An unhandled error has occurred. Reload 🗙