Skip to content

Commit 31604f4

Browse files
committed
refactor: 移除不需要的 OnKeyDownAsync 回调
1 parent ee0129e commit 31604f4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/BootstrapBlazor/Components/Textarea/Textarea.razor.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
// See the LICENSE file in the project root for more information.
44
// Maintainer: Argo Zhang([email protected]) Website: https://www.blazor.zone
55

6-
using Microsoft.AspNetCore.Components.Web;
7-
86
namespace BootstrapBlazor.Components;
97

108
/// <summary>
@@ -36,13 +34,6 @@ public partial class Textarea
3634
[Parameter]
3735
public bool IsAutoScroll { get; set; }
3836

39-
/// <summary>
40-
/// 获得/设置 文本框按键回调委托方法 默认为 null
41-
/// <para>返回真时阻止按键</para>
42-
/// </summary>
43-
[Parameter]
44-
public Func<KeyboardEventArgs, Task<bool>>? OnKeyDownAsync { get; set; }
45-
4637
/// <summary>
4738
/// 获得/设置 是否使用 Shift + Enter 代替原回车按键行为 默认为 false
4839
/// </summary>

0 commit comments

Comments
 (0)