storage-layout
Last updated
Last updated
📢 Use this project, contribute to it or open issues to help evolve it using Store Discussion.
Renders according to local storage information.
Adding the app as a theme dependency in the manifest.json
file;
Add the storage-layout
block in your store's json.
storage-layout
Parent block.
action-button
Block responsible for saving a key in local storage and closing the parent block.
storage-layout
propsstorageKey
string
Defines the key to save in localstorage
hide-storage-layout
action-button
propstext
string
Text for the button.
-
closeAndSave
boolean
Possible values are: true
(closes the parent block and saves the key in local storage) and false
(closes the parent block and doesn't save the key in local storage).
true
usage:
storageLayout
button