
SignaturePad
BootstrapBlazor.SignaturePad
, which needs to reference its component package when using this componentBootstrapBlazor.SignaturePad
componentdotnet add package BootstrapBlazor.SignaturePad
<PackageReference Include="BootstrapBlazor.SignaturePad" Version="7.0.2" />
Install-Package BootstrapBlazor.SignaturePad
Signature with touch or mouse
Demo
<SignaturePad OnResult="OnResult" />
Set button css
Demo
<SignaturePad OnResult="OnResult" BtnCssClass="btn btn-outline-success" />
Custom button text
Demo
<SignaturePad OnResult="OnResult" SignAboveLabel="Sign above" UndoBtnTitle="Undo" SaveBase64BtnTitle="OK" ChangeColorBtnTitle="Change color" ClearBtnTitle="Clear" />
When device width is less than 640px (such as mobile phones) automatically topless without borders, the width is less than 500px the button is automatically rotated. Optional transparent background.
Demo
Attributes
B station related video link
交流群