Skip to content

Commit 4813914

Browse files
committed
doc: 文档格式化
1 parent a8b3118 commit 4813914

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

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

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,25 @@
1111
<MultiSelect TValue="string" Items="@Items1" />
1212
</div>
1313
<div class="col-12 col-sm-6">
14-
<MultiSelect TValue="string" Color="Color.Primary" Items="@Items2" />
14+
<MultiSelect TValue="string" Color="Color.Primary" Items="@Items2"></MultiSelect>
1515
</div>
1616
<div class="col-12 col-sm-6">
17-
<MultiSelect TValue="string" Color="Color.Success" Items="@Items3" />
17+
<MultiSelect TValue="string" Color="Color.Success" Items="@Items3"></MultiSelect>
1818
</div>
1919
<div class="col-12 col-sm-6">
20-
<MultiSelect TValue="string" Color="Color.Danger" Items="@Items4" />
20+
<MultiSelect TValue="string" Color="Color.Danger" Items="@Items4"></MultiSelect>
2121
</div>
2222
<div class="col-12 col-sm-6">
23-
<MultiSelect TValue="string" Color="Color.Warning" Items="@Items5" />
23+
<MultiSelect TValue="string" Color="Color.Warning" Items="@Items5"></MultiSelect>
2424
</div>
2525
<div class="col-12 col-sm-6">
26-
<MultiSelect TValue="string" Color="Color.Info" Items="@Items6" />
26+
<MultiSelect TValue="string" Color="Color.Info" Items="@Items6"></MultiSelect>
2727
</div>
2828
<div class="col-12 col-sm-6">
29-
<MultiSelect TValue="string" Color="Color.Secondary" Items="@Items7" />
29+
<MultiSelect TValue="string" Color="Color.Secondary" Items="@Items7"></MultiSelect>
3030
</div>
3131
<div class="col-12 col-sm-6">
32-
<MultiSelect TValue="string" Color="Color.Dark" Items="@Items8" />
32+
<MultiSelect TValue="string" Color="Color.Dark" Items="@Items8"></MultiSelect>
3333
</div>
3434
</div>
3535
</DemoBlock>
@@ -40,7 +40,7 @@
4040
</section>
4141
<div class="row g-3">
4242
<div class="col-12 col-sm-4">
43-
<MultiSelect TValue="string" Items="@Items1" IsSingleLine="true" />
43+
<MultiSelect TValue="string" Items="@Items1" IsSingleLine="true"></MultiSelect>
4444
</div>
4545
</div>
4646
</DemoBlock>
@@ -51,12 +51,12 @@
5151
</section>
5252
<div class="row g-3">
5353
<div class="col-12 col-sm-6">
54-
<MultiSelect Items="@Items1" @bind-Value="@SelectedItemsValue" />
54+
<MultiSelect Items="@Items1" @bind-Value="@SelectedItemsValue"></MultiSelect>
5555
</div>
5656
<div class="col-12 col-sm-6">
57-
<Button Icon="fa-solid fa-plus" Text="@Localizer["MultiSelectAdd"]" OnClick="@AddItems" class="me-1" />
58-
<Button Icon="fa-solid fa-minus" Text="@Localizer["MultiSelectDecrease"]" OnClick="@RemoveItems" />
59-
<Button Icon="fa-regular fa-trash-can" Text="@Localizer["MultiSelectClean"]" OnClick="@ClearItems" />
57+
<Button Icon="fa-solid fa-plus" Text="@Localizer["MultiSelectAdd"]" OnClick="@AddItems" class="me-1"></Button>
58+
<Button Icon="fa-solid fa-minus" Text="@Localizer["MultiSelectDecrease"]" OnClick="@RemoveItems"></Button>
59+
<Button Icon="fa-regular fa-trash-can" Text="@Localizer["MultiSelectClean"]" OnClick="@ClearItems"></Button>
6060
</div>
6161
</div>
6262
<section ignore>@SelectedItemsValue</section>
@@ -66,12 +66,12 @@
6666
<section ignore>@((MarkupString)Localizer["MultiSelectBindingCollectionDescription"].Value)</section>
6767
<div class="row g-3">
6868
<div class="col-12 col-sm-6">
69-
<MultiSelect Items="@Items" @bind-Value="@SelectedArrayValues" Max="4" Min="2" />
69+
<MultiSelect Items="@Items" @bind-Value="@SelectedArrayValues" Max="4" Min="2"></MultiSelect>
7070
</div>
7171
<div class="col-12 col-sm-6">
72-
<Button Icon="fa-solid fa-plus" Text="@Localizer["MultiSelectAdd"]" OnClick="@AddListItems" class="me-1" />
73-
<Button Icon="fa-solid fa-minus" Text="@Localizer["MultiSelectDecrease"]" OnClick="@RemoveListItems" />
74-
<Button Icon="fa-regular fa-trash-can" Text="@Localizer["MultiSelectClean"]" OnClick="@ClearListItems" />
72+
<Button Icon="fa-solid fa-plus" Text="@Localizer["MultiSelectAdd"]" OnClick="@AddListItems" class="me-1"></Button>
73+
<Button Icon="fa-solid fa-minus" Text="@Localizer["MultiSelectDecrease"]" OnClick="@RemoveListItems"></Button>
74+
<Button Icon="fa-regular fa-trash-can" Text="@Localizer["MultiSelectClean"]" OnClick="@ClearListItems"></Button>
7575
</div>
7676
</div>
7777
<section ignore>@(string.Join(",", SelectedArrayValues))</section>
@@ -84,9 +84,9 @@
8484
<MultiSelect Items="@LongItems" @bind-Value="@SelectedIntArrayValues" />
8585
</div>
8686
<div class="col-12 col-sm-6">
87-
<Button Icon="fa-solid fa-plus" Text="@Localizer["MultiSelectAdd"]" OnClick="@AddArrayItems" class="me-1" />
88-
<Button Icon="fa-solid fa-minus" Text="@Localizer["MultiSelectDecrease"]" OnClick="@RemoveArrayItems" />
89-
<Button Icon="fa-regular fa-trash-can" Text="@Localizer["MultiSelectClean"]" OnClick="@ClearArrayItems" />
87+
<Button Icon="fa-solid fa-plus" Text="@Localizer["MultiSelectAdd"]" OnClick="@AddArrayItems" class="me-1"></Button>
88+
<Button Icon="fa-solid fa-minus" Text="@Localizer["MultiSelectDecrease"]" OnClick="@RemoveArrayItems"></Button>
89+
<Button Icon="fa-regular fa-trash-can" Text="@Localizer["MultiSelectClean"]" OnClick="@ClearArrayItems"></Button>
9090
</div>
9191
</div>
9292
<section ignore>@(string.Join(",", SelectedIntArrayValues))</section>
@@ -192,7 +192,7 @@
192192
<section ignore>@((MarkupString)Localizer["MultiSelectCascadingDescription"].Value)</section>
193193
<div class="row g-3">
194194
<div class="col-12 col-sm-6">
195-
<Select TValue="string" Items="@CascadingItems2" OnSelectedItemChanged="@OnCascadeBindSelectClick" />
195+
<Select TValue="string" Items="@CascadingItems2" OnSelectedItemChanged="@OnCascadeBindSelectClick"></Select>
196196
</div>
197197
<div class="col-12 col-sm-6">
198198
<MultiSelect TValue="string" Items="@CascadingItems1" />

0 commit comments

Comments
 (0)