mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2905] Added JSDocs for core (#3281)
* [ADF-2905] Updated JSDocs for core * [ADF-2905] Added missing JSDoc for user pref service
This commit is contained in:
committed by
Eugenio Romano
parent
d456b3cba1
commit
dd1b8893cc
@@ -30,6 +30,7 @@ export class NotificationService {
|
||||
* Opens a snackbar notification to show a message.
|
||||
* @param message The message to show
|
||||
* @param millisecondsDuration Time before notification disappears after being shown
|
||||
* @returns Information/control object for the snackbar
|
||||
*/
|
||||
public openSnackMessage(message: string, millisecondsDuration?: number): MatSnackBarRef<any> {
|
||||
return this.snackbar.open(message, null, {
|
||||
@@ -42,6 +43,7 @@ export class NotificationService {
|
||||
* @param message The message to show
|
||||
* @param action Caption for the response button
|
||||
* @param millisecondsDuration Time before the notification disappears (unless the button is clicked)
|
||||
* @returns Information/control object for the snackbar
|
||||
*/
|
||||
public openSnackMessageAction(message: string, action: string, millisecondsDuration?: number): MatSnackBarRef<any> {
|
||||
return this.snackbar.open(message, action, {
|
||||
|
Reference in New Issue
Block a user