!3655 doc(#I67AH7): update SignaturePad doc

* 格式化
* 使用 PackageTips 组件简化文档代码
This commit is contained in:
alex_zou 2022-12-24 05:37:41 +00:00 committed by Argo
parent 5789f08303
commit 8ca61779bd
3 changed files with 3 additions and 26 deletions

View File

@ -5286,11 +5286,7 @@
"TipsResponsive": "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.",
"Title": "SignaturePad",
"SignatureText": "Signature",
"CleanText": "Clean",
"P1": "Precautions",
"P2": "This component relies on <a href='https://www.nuget.org/packages?q=BootstrapBlazor.SignaturePad' target='_blank'><code>BootstrapBlazor.SignaturePad</code></a>, which needs to reference its component package when using this component",
"P3": "Nuget Install",
"P4": "Install <code>BootstrapBlazor.SignaturePad</code> component <a href='https://www.nuget.org/packages?q=BootstrapBlazor.SignaturePad' target='_blank'>nuget.org</a>"
"CleanText": "Clean"
},
"BootstrapBlazor.Shared.Samples.SpeechWaves": {
"SpeechWaveTitle": "SpeechWave",

View File

@ -5291,11 +5291,7 @@
"TipsResponsive": "设备宽度小于 640px (例如手机) 自动置顶无边框, 宽度小于 500px 按钮自动旋转. 可选透明背景.",
"Title": "SignaturePad 手写签名",
"SignatureText": "签名",
"CleanText": "清除",
"P1": "注意事项",
"P2": "本组件依赖于 <a href='https://www.nuget.org/packages?q=BootstrapBlazor.SignaturePad' target='_blank'><code>BootstrapBlazor.SignaturePad</code></a>,使用本组件时需要引用其组件包",
"P3": "Nuget 包安装",
"P4": "使用 <a href='https://www.nuget.org/packages?q=BootstrapBlazor.SignaturePad' target='_blank'>nuget.org</a> 进行 <code>BootstrapBlazor.SignaturePad</code> 组件的安装"
"CleanText": "清除"
},
"BootstrapBlazor.Shared.Samples.SpeechWaves": {
"SpeechWaveTitle": "SpeechWave 语音波形图",

View File

@ -4,22 +4,7 @@
<h3>@Localizer["Title"]</h3>
<p><b>@Localizer["P1"] </b></p>
<p>@((MarkupString)Localizer["P2"].Value)</p>
<p><b>@Localizer["P3"]</b></p>
<p>@((MarkupString)Localizer["P4"].Value)</p>
<div class="code-label">.NET CLI</div>
<Pre class="no-highlight">dotnet add package BootstrapBlazor.SignaturePad</Pre>
<div class="code-label">PackageReference</div>
<Pre class="no-highlight">&lt;PackageReference Include="BootstrapBlazor.SignaturePad" /&gt;</Pre>
<div class="code-label">Package Manager</div>
<Pre class="no-highlight">Install-Package BootstrapBlazor.SignaturePad</Pre>
<PackageTips Name="BootstrapBlazor.SignaturePad" />
<DemoBlock Title="@Localizer["BaseUsageText"]" Introduction="@Localizer["BaseUsageIntro"]" Name="Normal">
<Pre>&lt;SignaturePad OnResult="OnResult" /&gt;</Pre>