-
-
Notifications
You must be signed in to change notification settings - Fork 380
Expand file tree
/
Copy pathDocMatButton.razor
More file actions
137 lines (132 loc) · 2.82 KB
/
DocMatButton.razor
File metadata and controls
137 lines (132 loc) · 2.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
@inherits MatBlazor.Demo.Components.BaseDocComponent
@* THIS FILE IS AUTOGENERATED FROM C# XML Comments! *@
@* ALL MANUAL CHANGES WILL BE REMOVED! *@
@if (!Secondary) {<h3 class="mat-h3">MatButton</h3> } else { <h5 class="mat-h5">MatButton</h5> }
<p>Buttons communicate an action a user can take.<br/>They are typically placed throughout your UI, in places like dialogs, forms, cards, and toolbars.</p>
<div><table class="article-table mat-elevation-z5">
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>Attributes</td>
<td>Dictionary<String,Object></td>
<td>Gets or sets a collection of additional attributes that will be applied to the created element.</td>
</tr>
<tr>
<td>ChildContent</td>
<td>RenderFragment</td>
<td>Inline label of Button.</td>
</tr>
<tr>
<td>Class</td>
<td>String</td>
<td>Specifies one or more classnames for an DOM element.</td>
</tr>
<tr>
<td>Command</td>
<td>ICommand</td>
<td>Command executed when the user clicks on an element.</td>
</tr>
<tr>
<td>CommandParameter</td>
<td>Object</td>
<td>Command parameter.</td>
</tr>
<tr>
<td>Dense</td>
<td>Boolean</td>
<td>Button has dense style.</td>
</tr>
<tr>
<td>Disabled</td>
<td>Boolean</td>
<td>Button is disabled.</td>
</tr>
<tr>
<td>Icon</td>
<td>String</td>
<td>Specifies an button's icon.</td>
</tr>
<tr>
<td>Id</td>
<td>String</td>
<td></td>
</tr>
<tr>
<td>Label</td>
<td>String</td>
<td>Text label of Button.</td>
</tr>
<tr>
<td>Link</td>
<td>String</td>
<td>Link to a url when clicked.</td>
</tr>
<tr>
<td>Name</td>
<td>String</td>
<td></td>
</tr>
<tr>
<td>OnClick</td>
<td>EventCallback<MouseEventArgs></td>
<td>Event occurs when the user clicks on an element.</td>
</tr>
<tr>
<td>OnFocus</td>
<td>EventCallback<FocusEventArgs></td>
<td>Event occurs when the user focuses on an element.</td>
</tr>
<tr>
<td>OnClickStopPropagation</td>
<td>Boolean</td>
<td>Stop propagation of the OnClick event</td>
</tr>
<tr>
<td>Outlined</td>
<td>Boolean</td>
<td>Button has outlined style.</td>
</tr>
<tr>
<td>Raised</td>
<td>Boolean</td>
<td>Button has raised style.</td>
</tr>
<tr>
<td>RefBack</td>
<td>ForwardRef</td>
<td></td>
</tr>
<tr>
<td>Style</td>
<td>String</td>
<td>Specifies an inline style for an DOM element.</td>
</tr>
<tr>
<td>TrailingIcon</td>
<td>String</td>
<td>Specifies if icon has trailing position.</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td></td>
</tr>
<tr>
<td>Unelevated</td>
<td>Boolean</td>
<td>Button has unelevated style.</td>
</tr>
<tr>
<td>Value</td>
<td>String</td>
<td></td>
</tr>
<tr>
<td>Ref</td>
<td>ElementReference</td>
<td>Returned ElementRef reference for DOM element.</td>
</tr>
</table></div>