I have this js method that I call from blazor's OnAfterRender to setup a new store or (TODO: to use existing store):
setUpSecureStore: function (passPhrase) {
const Store = window.SecureStore.Store;
const store = new Store('my-store', passPhrase);
store.init().then(() => {
// store is ready
window.Store = store;
});
},
how to check for existing store so that to set a variable of it in window.Store?
I have this js method that I call from blazor's OnAfterRender to setup a new store or (TODO: to use existing store):
how to check for existing store so that to set a variable of it in window.Store?