pwa/pwa.js
/**
         * Notifications permission was granted
         * @return {Boolean} Return true if is granted.
         */
Notifications permission was granted
@return {Boolean} Return true if is granted.
Notifications permission was granted @return { Boolean } Return true if is granted .
static isGranted() {
            if (this.getPermission() == 'granted') {
                console.log('PWA: Permission for Notifications was granted!');
                return true;
            }
            return false;
        }
static isGranted ( ) { if ( this . getPermission ( ) == 'granted' ) { console . log ( 'PWA: Permission for Notifications was granted!' ) ; return true ; } return false ; }
Notifications permission was granted
 @return {Boolean} Return true if is granted.
Notifications permission was granted @return { Boolean } Return true if is granted .