mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-02 17:53:30 +00:00
* [ACS-10449] Viewer MD3 fixes * [ACS-10449] Autocomplete chip MD3 fix * [ACS-10449] Tabs MD3 fixes * [ACS-10449] Fix badge sizing * [ACS-10449] Login page error fix * [ACS-10449] Fix overlapping options on text next to selectbox * [ACS-10449] ADF style fixes refactoring I * [ACS-10449] Breadcrumb and search filter container fixes * [ACS-10449] User column form field fixes * [ACS-10449] adapt scroll into view to changes in MD3 * [ACS-10449] Properties panel opened by default * [ACS-10449] Tag creator fixes * [ACS-10449] fix metadata property label color * [ACS-10449] Categories panel fixes * [ACS-10449] Current aspect on changes fix * [ACS-10449] Make notification history badge size configurable * [ACS-10449] Make notification history badge size configurable via config file --------- Co-authored-by: Aleksander Sklorz <Aleksander.Sklorz@hyland.com> Co-authored-by: g-jaskowski <grzegorz.jaskowski@hyland.com>
2.0 KiB
2.0 KiB
Title, Added, Status, Last reviewed
| Title | Added | Status | Last reviewed |
|---|---|---|---|
| Notification History component | v3.3.0 | Experimental | 2019-06-05 |
Notification History component
This component is in the current status just an experimental component. The main purpose of the Notification history component is list all the notification received in the current session. They will disappear from the list after the refresh.
Basic Usage
<adf-notification-history [menuPositionX]="'before'" [menuPositionY]="'above'"></adf-notification-history>
Class members
Properties
| Name | Type | Default value | Description |
|---|---|---|---|
| maxNotifications | number |
5 | Maximum number of notifications to display. The rest will remain hidden until load more is clicked |
| menuPositionX | MenuPositionX |
"after" | Custom choice for opening the menu at the bottom. Can be before or after. |
| menuPositionY | MenuPositionY |
"below" | Custom choice for opening the menu at the bottom. Can be above or below. |
| badgeSize | MatBadgeSize |
small |
Badge size. Can be small, medium or large. |
App config
You can set a default badge size in app.config.json:
{
"notification": {
"badgeSize": "medium"
}
}
The notification.badgeSize value is applied on init when the badgeSize input is not set explicitly on the component.
