Skip to content

Commit aa5842d

Browse files
committed
feat: 增加 IsVirtualize 参数
1 parent 2b9af5f commit aa5842d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/BootstrapBlazor/Components/AutoFill/AutoFill.razor.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ public partial class AutoFill<TValue>
9191
[ExcludeFromCodeCoverage]
9292
public RenderFragment<TValue>? Template { get => ItemTemplate; set => ItemTemplate = value; }
9393

94+
/// <summary>
95+
/// Gets or sets whether virtual scrolling is enabled. Default is false.
96+
/// </summary>
97+
[Parameter]
98+
public bool IsVirtualize { get; set; }
99+
94100
[Inject]
95101
[NotNull]
96102
private IStringLocalizer<AutoComplete>? Localizer { get; set; }

0 commit comments

Comments
 (0)