From 4fcab9e2544da99a1c59795e58186fbf5c28a6ff Mon Sep 17 00:00:00 2001 From: Matt Gaunt Date: Mon, 4 Apr 2016 12:15:35 +0100 Subject: [PATCH] Travis spotted a missing piece of docs --- src/client/push-client.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client/push-client.js b/src/client/push-client.js index 4eb724e..e23f50b 100644 --- a/src/client/push-client.js +++ b/src/client/push-client.js @@ -230,6 +230,10 @@ export default class PushClient extends EventDispatch { /** * Will manage requesting permission for push messages, resolving * with the final permission status. + * @param {Boolean} dispatchStatusChange - Optional parameter with a + * default value of true. If true, a `statuschange` event will be + * dispatched once the permission state has resolved (i.e. use interacted + * with the permission dialog). * @return {Promise} Permission status of granted, default or denied */ requestPermission(dispatchStatusChange = true) {