Skip to content

Commit 55ac5b9

Browse files
ArgoZhangj4587698
andauthored
doc(Samples): update AttributeTable items use Type (#7542)
* doc: 更新参数表格 * refactor: Refactor agent sessions API to use `getAgentSessions` utility and higher-order function wrappers. * doc: 更新参数说明文档 * Revert "refactor: Refactor agent sessions API to use `getAgentSessions` utility and higher-order function wrappers." This reverts commit 6634322. --------- Co-authored-by: j4587698 <jx@jvxiang.com>
1 parent df71a21 commit 55ac5b9

177 files changed

Lines changed: 375 additions & 421 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/BootstrapBlazor.Server/Components/Samples/Alerts.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page "/alert"
1+
@page "/alert"
22

33
<h3>@Title</h3>
44

@@ -66,6 +66,6 @@
6666
</Alert>
6767
</DemoBlock>
6868

69-
<AttributeTable Items="@GetAttributes()" />
69+
<AttributeTable Type="typeof(Alert)" />
7070

7171
<EventTable Items="@GetEvents()" />

src/BootstrapBlazor.Server/Components/Samples/AnchorLinks.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page "/anchor-link"
1+
@page "/anchor-link"
22

33
<h3>@Localizer["AnchorLinkTitle"]</h3>
44

@@ -14,4 +14,4 @@
1414
<div>@((MarkupString)Localizer["AnchorLinkTips5"].Value)</div>
1515
</Tips>
1616

17-
<AttributeTable Items="@GetAttributes()" />
17+
<AttributeTable Type="typeof(AnchorLink)" />

src/BootstrapBlazor.Server/Components/Samples/Anchors.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page "/anchor"
1+
@page "/anchor"
22

33
<h3>@Localizer["Title"]</h3>
44

@@ -33,4 +33,4 @@
3333
</div>
3434
</DemoBlock>
3535

36-
<AttributeTable Items="@GetAttributes()" />
36+
<AttributeTable Type="typeof(Anchor)" />

src/BootstrapBlazor.Server/Components/Samples/AutoCompletes.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page "/auto-complete"
1+
@page "/auto-complete"
22
@inject IStringLocalizer<AutoCompletes> Localizer
33

44
<h3>@Localizer["Title"]</h3>
@@ -101,4 +101,4 @@
101101
<AutoComplete Items="@StaticItems" IsPopover="true"></AutoComplete>
102102
</DemoBlock>
103103

104-
<AttributeTable Items="@GetAttributes()" />
104+
<AttributeTable Type="typeof(AutoComplete)" />

src/BootstrapBlazor.Server/Components/Samples/AutoFills.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page "/auto-fill"
1+
@page "/auto-fill"
22
@inject IStringLocalizer<AutoFills> Localizer
33
@inject IOptions<WebsiteOptions> WebsiteOption
44

@@ -148,4 +148,4 @@
148148
</section>
149149
</DemoBlock>
150150

151-
<AttributeTable Items="@GetAttributes()" />
151+
<AttributeTable Type="typeof(AutoFill<>)" />

src/BootstrapBlazor.Server/Components/Samples/AutoRedirects.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page "/auto-redirect"
1+
@page "/auto-redirect"
22
@inject IStringLocalizer<AutoRedirects> Localizer
33

44
<h3>@Localizer["Title"]</h3>
@@ -9,4 +9,4 @@
99
<ConsoleLogger @ref="Logger" />
1010
</DemoBlock>
1111

12-
<AttributeTable Items="@GetAttributes()" />
12+
<AttributeTable Type="typeof(AutoRedirect)" />

src/BootstrapBlazor.Server/Components/Samples/Avatars.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page "/avatar"
1+
@page "/avatar"
22
@inject IStringLocalizer<Avatars> Localizer
33
@inject IOptions<WebsiteOptions> WebsiteOption
44

@@ -57,4 +57,4 @@
5757
</div>
5858
</DemoBlock>
5959

60-
<AttributeTable Items="@GetAttributes()" />
60+
<AttributeTable Type="typeof(Avatar)" />

src/BootstrapBlazor.Server/Components/Samples/Badges.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page "/badge"
1+
@page "/badge"
22
@inject IStringLocalizer<Badges> Localizer
33

44
<h3>@Localizer["Title"]</h3>
@@ -49,4 +49,4 @@
4949
</div>
5050
</DemoBlock>
5151

52-
<AttributeTable Items="@GetAttributes()" />
52+
<AttributeTable Type="typeof(Badge)" />

src/BootstrapBlazor.Server/Components/Samples/BarcodeGenerators.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page "/barcode-generator"
1+
@page "/barcode-generator"
22
@inject IStringLocalizer<BarcodeGenerators> Localizer
33

44
<h3>@Localizer["Title"]</h3>
@@ -14,6 +14,6 @@
1414
</section>
1515
</DemoBlock>
1616

17-
<AttributeTable Items="@GetAttributes()" />
17+
<AttributeTable Type="typeof(BarcodeGenerator)" />
1818

1919
<AttributeTable Title="BarcodeGeneratorOption" Items="@GetOptionsAttributes()" />

src/BootstrapBlazor.Server/Components/Samples/BarcodeReaders.razor

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@page "/barcode-reader"
1+
@page "/barcode-reader"
22
@inject IStringLocalizer<BarcodeReaders> Localizer
33

44
<h4>@Localizer["SubTitle"]</h4>
@@ -33,4 +33,4 @@
3333
<ConsoleLogger @ref="ImageLogger" />
3434
</DemoBlock>
3535

36-
<AttributeTable Items="@GetAttributes()" />
36+
<AttributeTable Type="typeof(BarcodeReader)" />

0 commit comments

Comments
 (0)