Notifications

To send notifications, the Notification API can be accessed using the JSAPI.get().getNotificationAPI() function. It features the following functions:

  • sendInformation(message)
  • sendWarning(message)
  • sendError(message)

These three functions open modal windows.

To send a notification to FlowerDocs, you can use the sendNotification(message) function.

Example:

JSAPI.get().getNotificationAPI().sendError("An error has occurred");