|
12 | 12 |
|
13 | 13 | <DemoBlock Title="@Localizer["ValueTitle"]" Introduction="@Localizer["ValueIntro"]" Name="Value"> |
14 | 14 | <p>@((MarkupString)Localizer["ValueDescription"].Value)</p> |
15 | | - <ColorPicker Value="@Value" /> |
| 15 | + <ColorPicker Value="@Value"></ColorPicker> |
16 | 16 | </DemoBlock> |
17 | 17 |
|
18 | 18 | <DemoBlock Title="@Localizer["BindValueTitle"]" Introduction="@Localizer["BindValueIntro"]" Name="BindValue"> |
19 | | - <ColorPicker @bind-Value="@Value" /> |
| 19 | + <ColorPicker @bind-Value="@Value"></ColorPicker> |
20 | 20 | <div class="mt-3">Value: @Value</div> |
21 | 21 | </DemoBlock> |
22 | 22 |
|
23 | 23 | <DemoBlock Title="@Localizer["DisabledTitle"]" Introduction="@Localizer["DisabledIntro"]" Name="Disabled"> |
24 | | - <ColorPicker Value="@Value" IsDisabled="true" /> |
| 24 | + <ColorPicker Value="@Value" IsDisabled="true"></ColorPicker> |
25 | 25 | </DemoBlock> |
26 | 26 |
|
27 | 27 | <DemoBlock Title="@Localizer["TemplateTitle"]" Introduction="@Localizer["TemplateIntro"]" Name="Template"> |
|
40 | 40 | <ValidateForm Model="Dummy"> |
41 | 41 | <div class="row g-3 form-inline"> |
42 | 42 | <div class="col-6"> |
43 | | - <ColorPicker @bind-Value="@Dummy.Name" /> |
| 43 | + <ColorPicker @bind-Value="@Dummy.Name"></ColorPicker> |
44 | 44 | </div> |
45 | 45 | </div> |
46 | 46 | </ValidateForm> |
|
50 | 50 | <section ignore> |
51 | 51 | <div class="row form-inline"> |
52 | 52 | <div class="col-12 col-sm-6"> |
53 | | - <Switch @bind-Value="_opacityIsSupport" DisplayText="SupportOpacity" ShowLabel="true"></Switch> |
| 53 | + <Switch @bind-Value="_opacityIsSupport" DisplayText="@Localizer["SupportOpacity"]" ShowLabel="true"></Switch> |
54 | 54 | </div> |
55 | 55 | <div class="col-12 col-sm-6"> |
56 | | - <Switch @bind-Value="_opacityIsDisabled" DisplayText="Disabled" ShowLabel="true"></Switch> |
| 56 | + <Switch @bind-Value="_opacityIsDisabled" DisplayText="@Localizer["Disabled"]" ShowLabel="true"></Switch> |
57 | 57 | </div> |
58 | 58 | </div> |
59 | 59 | </section> |
60 | | - <ColorPicker @bind-Value="@_opacityValue" IsSupportOpacity="_opacityIsSupport" IsDisabled="_opacityIsDisabled" /> |
| 60 | + <ColorPicker @bind-Value="@_opacityValue" IsSupportOpacity="_opacityIsSupport" IsDisabled="_opacityIsDisabled"></ColorPicker> |
61 | 61 | </DemoBlock> |
62 | 62 |
|
63 | 63 | <AttributeTable Items="@GetAttributes()" /> |
0 commit comments