From 7f0d82e960788bb304ba522edacd50d92437ebbf Mon Sep 17 00:00:00 2001 From: Paul-Vincent Roll Date: Sun, 3 Apr 2016 13:32:17 +0200 Subject: [PATCH] Fixed README --- modules/default/alert/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/default/alert/README.md b/modules/default/alert/README.md index 91878319..b3e20b8f 100644 --- a/modules/default/alert/README.md +++ b/modules/default/alert/README.md @@ -55,7 +55,7 @@ The following properties can be configured: position Position where the notifications should be displayed.

Possible values: left center right -
Default value: 3500 +
Default value: center @@ -127,23 +127,23 @@ self.sendNotification("SHOW_ALERT", {title: "Hello", message: "This is a test!", imageUrl (optional) Image to show in the alert
-
Possible values: url +
Possible values: url path
Default value: none imageHeight (optional even with imageUrl set) Height of the image
-
Possible values: "intpx" +
Possible values: intpx
Default value: 80px timer (optional) - How long the alert should stay visible in seconds.
+ How long the alert should stay visible in seconds. +
Important: If you do not use the timer, it is your duty to hide the alert by using self.sendNotification("HIDE_ALERT");!

Possible values: int float
Default value: none -
Important: If you do not use the `timer`, it is your duty to hide the alert by using self.sendNotification("HIDE_ALERT");!