Storage

Manage records associated with data storage utility components of flows.

Configuration

Set up a new instance with config parameters and set/get methods:

const storage = appmixer.ui.Storage(config)

storage.set(key, value)
storage.get(key)

config.el ...

Learn about widget config here.

config.storeId

Type: String | Default: []

ID of a store to open within the storage.

Instance

Learn about widget instance here.

State

storage.state(name, value)

loader

Type: Boolean | Default: null

Toggle a custom loading state.

error

Type: String | Default: null

Toggle a custom error message.

Example

const storage = appmixer.ui.Storage({
    el: '#storage'
})

storage.open()

Last updated