File tree Expand file tree Collapse file tree
src/components/BootstrapBlazor.CherryMarkdown/Components/CherryMarkdown Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- @namespace BootstrapBlazor.Components
2- @inherits BootstrapModuleComponentBase
1+ @namespace BootstrapBlazor.Components
2+ @inherits ValidateBase < string >
33@attribute [JSModuleAutoLoader("./_content/BootstrapBlazor.CherryMarkdown/Components/CherryMarkdown/CherryMarkdown.razor.js", JSObjectReference = true)]
44
5+ @if (IsShowLabel )
6+ {
7+ <BootstrapLabel required =" @Required" for =" @Id" ShowLabelTooltip =" ShowLabelTooltip" Value =" @DisplayText" />
8+ }
59<div @attributes =" @AdditionalAttributes" id =" @Id" ></div >
Original file line number Diff line number Diff line change 1- // Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
1+ // Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
22// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33// Website: https://www.blazor.zone or https://argozhang.github.io/
44
@@ -31,17 +31,6 @@ public partial class CherryMarkdown
3131 public bool IsSupportMath { get ; set ; } = true ;
3232
3333 private string ? _lastValue ;
34- /// <summary>
35- /// 获得/设置 组件值
36- /// </summary>
37- [ Parameter ]
38- public string ? Value { get ; set ; }
39-
40- /// <summary>
41- /// 获得/设置 组件值回调
42- /// </summary>
43- [ Parameter ]
44- public EventCallback < string ? > ValueChanged { get ; set ; }
4534
4635 /// <summary>
4736 /// 获得/设置 组件 Html 代码
You can’t perform that action at this time.
0 commit comments