Xm.BootstrapBlazor.SignaturePad
8.0.3
dotnet add package Xm.BootstrapBlazor.SignaturePad --version 8.0.3
NuGet\Install-Package Xm.BootstrapBlazor.SignaturePad -Version 8.0.3
<PackageReference Include="Xm.BootstrapBlazor.SignaturePad" Version="8.0.3" />
paket add Xm.BootstrapBlazor.SignaturePad --version 8.0.3
#r "nuget: Xm.BootstrapBlazor.SignaturePad, 8.0.3"
// Install Xm.BootstrapBlazor.SignaturePad as a Cake Addin #addin nuget:?package=Xm.BootstrapBlazor.SignaturePad&version=8.0.3 // Install Xm.BootstrapBlazor.SignaturePad as a Cake Tool #tool nuget:?package=Xm.BootstrapBlazor.SignaturePad&version=8.0.3
Blazor SignaturePad 手写签名 组件
示例
https://www.blazor.zone/signaturepads
https://blazor.app1.es/signaturepad
使用方法:
nuget包
BootstrapBlazor.SignaturePad
_Imports.razor 文件 或者页面添加 添加组件库引用
@using BootstrapBlazor.Components
Razor页面
<SignaturePad OnResult="((e) => Result=e)" />
<SignaturePad OnResult="((e) => Result=e)" BtnCssClass="btn btn-outline-success" />
<SignaturePad OnResult="((e) => Result=e)" SignAboveLabel="Sign above" UndoBtnTitle="Undo" SaveBase64BtnTitle="OK" ChangeColorBtnTitle="Change color" ClearBtnTitle="Clear" />
@code{ /// <summary> /// 签名Base64 /// </summary> public string? Result { get; set; } }
更多信息请参考
Bootstrap 风格的 Blazor UI 组件库 基于 Bootstrap 样式库精心打造,并且额外增加了 100 多种常用的组件,为您快速开发项目带来非一般的感觉
更新历史
v7.0.3
- 清除按钮改为不触发 OnResult 事件
v7.0.2
- 添加 EnableUndoBtn : 启用撤消按钮/Enable undo button
- 添加 BtnSaveCssClass : 按钮 "保存 "的css样式
- 感谢 ArtemAksenov's pr.
Blazor SignaturePad component
Demo
https://www.blazor.zone/signaturepads
https://blazor.app1.es/signaturepad
Instructions:
NuGet install pack
BootstrapBlazor.OnScreenKeyboard
_Imports.razor or Razor page
@using BootstrapBlazor.Components
Razor page
<SignaturePad OnResult="((e) => Result=e)" />
<SignaturePad OnResult="((e) => Result=e)" BtnCssClass="btn btn-outline-success" />
<SignaturePad OnResult="((e) => Result=e)" SignAboveLabel="Sign above" UndoBtnTitle="Undo" SaveBase64BtnTitle="OK" ChangeColorBtnTitle="Change color" ClearBtnTitle="Clear" />
@code{ /// <summary> /// Sign Base64 /// </summary> public string? Result { get; set; } }
More informations
Bootstrap style Blazor UI component library Based on the Bootstrap style library, it is carefully built, and 100 a variety of commonly used components have been added to bring you an extraordinary feeling for rapid development projects
Historial de actualizaciones
v7.0.2
- Add EnableUndoBtn : Enable undo button
- Add BtnSaveCssClass : Button "Save" css style
- Thanks ArtemAksenov's pr.
Blazor 组件
AlexChow
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- BootstrapBlazor (>= 8.0.0)
- Microsoft.AspNetCore.Components.Web (>= 6.0.10)
- Microsoft.Extensions.Localization.Abstractions (>= 6.0.10)
-
net7.0
- BootstrapBlazor (>= 8.0.0)
- Microsoft.AspNetCore.Components.Web (>= 7.0.0)
- Microsoft.Extensions.Localization.Abstractions (>= 7.0.0)
-
net8.0
- BootstrapBlazor (>= 8.0.0)
- Microsoft.AspNetCore.Components.Web (>= 8.0.0)
- Microsoft.Extensions.Localization.Abstractions (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.