[SOLVED] Service worker events in React

How can i access the “app” object with the “on” method for the events about service worker registration with React?

Seems like this is the solution:

this.$f7.on(‘panelOpen’, function (panel) {
console.log(‘Panel ’ + panel.side + ’ opened’);
});
1 Like