0.0.2 • Published 4 years ago
@iommi/ngxs-ionic-storage v0.0.2
NgxsIonicStorage
It's an NGXS Storage Plugin implementation made for using IonicStorage
It make possible to automatically save your NGXS state in any of this storages:
- SQLite
- IndexedDB
- WebSQL
- LocalStorage
Config Options
PROPERTY | TYPE | DEFAULT VALUE | DESCRIPTION |
---|---|---|---|
key | string | @@STORE | Main key name |
name | string | _ionicstorage | Storage name; |
version | number | 1.0 | Storage version, needed for storage updates |
storeName | string | _ionickv | Main store name |
description | string | Storage description | |
driverOrder | string[] | ['sqlite', 'indexeddb', 'websql', 'localstorage'] | Indicates the storage order preferences, it tries to save in the first storage, if it's impossibile it tries on the next and so on. |
for more informations check out the IonicStorage original documentation
Built With
- Angular vers. 9.0 - Platform for building mobile and desktop web applications
- IonicStorage - Library to store key/value pairs and JSON objects
- NGXS - State management pattern + library for Angular
- NGXS Async Storage Plugin - NGXS Plugin to persist the state on the client asynchronously
Authors
- Thomas Iommi - Initial work - GitHub
License
This project is licensed under the MIT License - see the LICENSE.md file for details
0.0.2
4 years ago