5 |
6 | @HelperText
7 |
8 | @if (!string.IsNullOrWhiteSpace(CharacterCount))
9 | {
10 |
11 | @CharacterCount
12 |
13 | }
14 |
--------------------------------------------------------------------------------
/src/MatBlazor/Components/MatHidden/MatBreakpoint.cs:
--------------------------------------------------------------------------------
1 | namespace MatBlazor
2 | {
3 | public enum MatBreakpoint
4 | {
5 | XS = 0,
6 | SM = 600,
7 | MD = 960,
8 | LG = 1280,
9 | XL = 1920,
10 | }
11 | }
--------------------------------------------------------------------------------
/src/MatBlazor/Components/MatHidden/MatHidden.razor:
--------------------------------------------------------------------------------
1 | @namespace MatBlazor
2 | @inherits BaseMatHidden
3 |
4 | @if (Hidden.HasValue)
5 | {
6 | if (Hidden.Value)
7 | {
8 | if (ElseContent != null)
9 | {
10 | @ElseContent
11 | }
12 | }
13 | else
14 | {
15 | if (ChildContent != null)
16 | {
17 | @ChildContent
18 | }
19 | }
20 | }
21 | else
22 | {
23 | if (InitContent != null)
24 | {
25 | @InitContent
26 | }
27 | }
--------------------------------------------------------------------------------
/src/MatBlazor/Components/MatHidden/MatHiddenDirection.cs:
--------------------------------------------------------------------------------
1 | namespace MatBlazor
2 | {
3 | public enum MatHiddenDirection
4 | {
5 | Down,
6 | Up,
7 | }
8 | }
--------------------------------------------------------------------------------
/src/MatBlazor/Components/MatIcon/BaseMatIcon.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.AspNetCore.Components;
2 |
3 | namespace MatBlazor
4 | {
5 | ///