[v6] store info

is possible to call f7 methods from store?
ex. preloader.show();

From app.js, put app instance to global window

let app = new Framework7({
//...
})

window.f7app = app;

Then you can use this global instance anywhere, for example in store.js

actions: {
  someAction: () => {
    f7app.preloader.show()
  }
}
1 Like