@if (string.IsNullOrEmpty(_imageData))
{
Drop image here or click to upload
}
else if (!_isCropped)
{
}
else
{
}
@code {
[Parameter] public string? UploadLink { get; set; }
// Unique ID for this instance
private string _uniqueId = "cropper-" + Guid.NewGuid().ToString("N");
private string? _imageData;
private string? _croppedData;
private bool _isCropped;
private MediaJsInterop? _mediaInterop;
private DotNetObjectReference