Skip to content

Commit 2cf3452

Browse files
committed
doc: 增加参数注释文档
1 parent 02aef8f commit 2cf3452

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

src/BootstrapBlazor.Server/Components/Samples/MultiSelects.razor.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,14 @@ private AttributeItem[] GetAttributes() =>
474474
Type = "bool",
475475
ValueList = "true|false",
476476
DefaultValue = "false"
477+
},
478+
new()
479+
{
480+
Name = nameof(MultiSelect<string>.IsVirtualize),
481+
Description = Localizer["MultiSelectsAttribute_IsVirtualize"],
482+
Type = "bool",
483+
ValueList = "true|false",
484+
DefaultValue = "false"
477485
}
478486
];
479487
}

src/BootstrapBlazor.Server/Components/Samples/Selects.razor.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,14 @@ private AttributeItem[] GetAttributes() =>
415415
Type = "bool",
416416
ValueList = "true|false",
417417
DefaultValue = "false"
418+
},
419+
new()
420+
{
421+
Name = nameof(Select<string>.IsVirtualize),
422+
Description = Localizer["SelectsIsVirtualize"],
423+
Type = "bool",
424+
ValueList = "true|false",
425+
DefaultValue = "false"
418426
}
419427
];
420428
}

0 commit comments

Comments
 (0)