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) {