Skip to content

Commit 79295d2

Browse files
committed
feat: 增加 Preview 参数
1 parent 6db0fe5 commit 79295d2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/components/BootstrapBlazor.ImageCropper/ImageCropperOption.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,4 +210,10 @@ public class ImageCropperOption
210210
/// </summary>
211211
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
212212
public string? Radius { get; set; }
213+
214+
/// <summary>
215+
/// 获得/设置 预览元素 Selector
216+
/// </summary>
217+
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
218+
public string? Preview { get; set; }
213219
}

0 commit comments

Comments
 (0)