From f93a464b7db394f10d137ac3ef8db8bb9756b22a Mon Sep 17 00:00:00 2001 From: Paul-Vincent Roll Date: Fri, 1 Apr 2016 22:07:50 +0200 Subject: [PATCH] Added howto for developers --- modules/default/alert/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/default/alert/README.md b/modules/default/alert/README.md index 48726819..83c39369 100644 --- a/modules/default/alert/README.md +++ b/modules/default/alert/README.md @@ -22,4 +22,9 @@ modules: [ } } ] +``` + +As a developer your module can send an alert to this module by using: +``` +self.sendNotification("SHOW_ALERT", {message: "Hello!"}); ``` \ No newline at end of file