Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@

<h4>@Localizer["SubTitle"]</h4>

<DemoBlock Title="@Localizer["BaseUsageText"]" Introduction="@Localizer["IntroText1"]" Name="Normal">
<Handwritten HandwrittenBase64="e => DrawBase64 = e" />
<textarea type="text" class="form-control mt-3" readonly rows="5" @bind="DrawBase64" />
</DemoBlock>
<Tips>
<div>@((MarkupString)Localizer["Tips"].Value)</div>
</Tips>

<AttributeTable Items="@GetAttributes()" />
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace BootstrapBlazor.Server.Components.Samples;

/// <summary>
/// HandwrittenPage
/// Handwritten 组件示例代码
/// </summary>
public sealed partial class Handwrittens
{
Expand Down
1 change: 1 addition & 0 deletions src/BootstrapBlazor.Server/Locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -5730,6 +5730,7 @@
"BootstrapBlazor.Server.Components.Samples.Handwrittens": {
"Title": "Handwritten",
"SubTitle": "Used to save the mobile terminal signature as Base64 encoded string",
"Tips": "Deprecated, please use the <a href=\"signature-pad\">BootstrapBlazor.SignaturePad</a> component",
"BaseUsageText": "Basic usage",
"IntroText1": "Touch device handwritten signature as Base64.",
"IntroText2": "For desktop browser testing, please use F12 to simulate a touch device.",
Expand Down
1 change: 1 addition & 0 deletions src/BootstrapBlazor.Server/Locales/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -5730,6 +5730,7 @@
"BootstrapBlazor.Server.Components.Samples.Handwrittens": {
"Title": "Handwritten 手写签名",
"SubTitle": "用于移动终端签名保存为 Base64 编码字符串",
"Tips": "已弃用,请使用 <a href=\"signature-pad\">BootstrapBlazor.SignaturePad</a> 组件,已知问题在弹窗中无法签名",
"BaseUsageText": "基础用法",
"IntroText1": "触摸设备直接手写签名保存为 Base64",
"IntroText2": "桌面浏览器测试请用F12模拟为触摸设备",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ namespace BootstrapBlazor.Components;
/// <summary>
/// Handwritten 手写签名
/// </summary>
[Obsolete("已弃用,请使用 BootstrapBlazor.SignaturePad 代替;Deprecated, use BootstrapBlazor.SignaturePad instead")]
[ExcludeFromCodeCoverage]
public partial class Handwritten
{
/// <summary>
Expand Down
57 changes: 0 additions & 57 deletions test/UnitTest/Components/HandwrittenTest.cs

This file was deleted.