Skip to content
Permalink
Browse files
Updates docs for toasters
  • Loading branch information
mikaelbr committed Jan 26, 2017
1 parent 9667d26 commit 58e3043c5507487bbf9a2519a7729f51ef4cb89d
Showing 1 changed file with 9 additions and 5 deletions.
@@ -206,11 +206,15 @@ var notifier = new WindowsToaster({
});
notifier.notify({
title: void 0,
message: void 0,
icon: void 0, // Absolute path to Icon
sound: false, // true | false.
wait: false, // Wait for User Action against Notification or times out
title: void 0, // String. Required
message: void 0, // String. Required if remove is not defined
icon: void 0, // String. Absolute path to Icon
sound: false, // Bool | String (as defined by http://msdn.microsoft.com/en-us/library/windows/apps/hh761492.aspx)
wait: false, // Bool. Wait for User Action against Notification or times out
id: void 0, // Number. ID to use for closing notification.
appID: void 0, // String. App.ID. Don't create a shortcut but use the provided app id.
remove: void 0, // Number. Refer to previously created notification to close.
install: void 0 // String (path, application, app id). Creates a shortcut <path> in the start menu which point to the executable <application>, appID used for the notifications.
}, function(error, response) {
console.log(response);
});

0 comments on commit 58e3043

Please sign in to comment.