mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[ADF-1769] Added JSDocs for services (#2949)
This commit is contained in:
committed by
Eugenio Romano
parent
8bfac2f9f8
commit
9887d8bca4
@@ -4,6 +4,18 @@ Shows a notification message with optional feedback.
|
||||
|
||||

|
||||
|
||||
## Methods
|
||||
|
||||
- `openSnackMessage(message: string, millisecondsDuration?: number): MatSnackBarRef<any>`
|
||||
Opens a snackbar notification to show a message.
|
||||
- `message` - The message to show
|
||||
- `millisecondsDuration` - (Optional) Time before notification disappears after being shown
|
||||
- `openSnackMessageAction(message: string, action: string, millisecondsDuration?: number): MatSnackBarRef<any>`
|
||||
Opens a snackbar notification with a message and a response button.
|
||||
- `message` - The message to show
|
||||
- `action` - Caption for the response button
|
||||
- `millisecondsDuration` - (Optional) Time before the notification disappears (unless the button is clicked)
|
||||
|
||||
## Details
|
||||
|
||||
The Notification Service is implemented on top of the Angular Material Design snackbar.
|
||||
|
||||
Reference in New Issue
Block a user