Skip to main content

Application Data Storage

To use store as long as the application run, use the store structure kept in the application context.

Store Data in Context​

Store data in application context. This storage will be destroyed after application is closed. This context can be used for transfering data between pages.

& : SharedStoreContext keeps data share between multiple tabs.
$ : GlobalStoreContext keeps global during current tab.
# : BagStoreContext keeps during current operation. Data is cleared when new process is selected from the menu.
default :PageStoreContext keeps data on page. Data is cleared when new page rendered. Can't be used between different pages. Store name must be given without prefix.

  • PageStoreContext Exp:
quick.store.set('personalInfo', storeData) 

SET​

quick.store.set(name: string, value: any)

const storeData = {
name: "testName",
surname: "testSurname"
};
quick.store.set('$personalInfo', storeData)

GET​

quick.store.get(name: string)

quick.store.get('$personalInfo').name

GETALL​

quick.store.getAll(name: string)

quick.store.getAll('$personalInfo')

DELETE​

quick.store.delete(name: string)

quick.store.delete('&personalInfo')
quick.store.delete('$personalInfo')
quick.store.delete('#personalInfo')

DELETEALL​

quick.store.deleteAll(name: string)

quick.store.deleteAll('&') --> Delete All SharedStore
quick.store.deleteAll('$') --> Delete All GlobalStore
quick.store.deleteAll('#') --> Delete All BagStore
quick.store.deleteAll('default') --> Delete All PageStore

Example Usage​

DataStorageExamples