Skip to content

Commit 2004b81

Browse files
committed
Doc update and added notificationNumber prop
1 parent 904fa42 commit 2004b81

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

projects/dxc-ngx-cdk-site/src/app/components/examples/tabs/properties/tabs-table-properties.component.html

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,27 @@ <h3>Tab Properties</h3>
5555
<td>Whether the tab is disabled.</td>
5656
</tr>
5757
<tr>
58-
<td>onTabClick: EventEmitter</td>
58+
<td>notificationNumber: boolean | number</td>
5959
<td></td>
6060
<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.
6366
</td>
6467
</tr>
6568
<tr>
66-
<td>onTabHover: EventEmitter</td>
69+
<td>onTabClick: EventEmitter</td>
6770
<td></td>
6871
<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.
7074
</td>
7175
</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>
80+
</tr>
7281
</dxc-table>

0 commit comments

Comments
 (0)