diff --git a/modules/default/alert/README.md b/modules/default/alert/README.md index fbee5778..2afe63de 100644 --- a/modules/default/alert/README.md +++ b/modules/default/alert/README.md @@ -56,12 +56,34 @@ The following properties can be configured: ## Developer notes -The `message` and the `title` parameters accept text as well as html. ### Display notification ``` -self.sendNotification("SHOW_NOTIFICATION", message); +self.sendNotification("SHOW_NOTIFICATION", {title: "Hello", message: "This is a test!"}); ``` +
Option | +Description | +
---|---|
title |
+ The title of the notification. + Possible values: text or html as a string
+ |
+
message |
+ The message of the notification. + Possible values: text or html as a string
+ |
+