You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: projects/dxc-ngx-cdk-site/src/app/components/examples/tabs/properties/tabs-table-properties.component.html
+14-5Lines changed: 14 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -55,18 +55,27 @@ <h3>Tab Properties</h3>
55
55
<td>Whether the tab is disabled.</td>
56
56
</tr>
57
57
<tr>
58
-
<td>onTabClick: EventEmitter</td>
58
+
<td>notificationNumber: boolean | number</td>
59
59
<td></td>
60
60
<td>
61
-
This function will be called when the user clicks on a tab. The index of
62
-
the clicked tab will be passed as a parameter.
61
+
It can have boolean type or number type. If the value is 'true', an empty
62
+
badge will appear. If it is 'false', no badge will appear. If a number is
63
+
put it will be shown as the label of the notification in the tab, taking
64
+
into account that if that number is greater than 99, it will appear as
65
+
'+99' in the badge.
63
66
</td>
64
67
</tr>
65
68
<tr>
66
-
<td>onTabHover: EventEmitter</td>
69
+
<td>onTabClick: EventEmitter</td>
67
70
<td></td>
68
71
<td>
69
-
This function will be called when the user is on hover on a tab.
72
+
This event will emit when the user clicks on a tab. The index of the
73
+
clicked tab will be passed as a parameter.
70
74
</td>
71
75
</tr>
76
+
<tr>
77
+
<td>onTabHover: EventEmitter</td>
78
+
<td></td>
79
+
<td>This event will emit when the user is on hover on a tab.</td>
0 commit comments