storage-layout

📢 Use this project, contributearrow-up-right to it or open issues to help evolve it using Store Discussionarrow-up-right.

Storage Layout

Renders according to local storage information.

Media Placeholder

Configuration

  1. Adding the app as a theme dependency in the manifest.json file;

  1. Add the storage-layout block in your store's json.

Block name
Description

storage-layout

Parent block.

action-button

Block responsible for saving a key in local storage and closing the parent block.

storage-layout props

Prop name
Type
Description
Default value

storageKey

string

Defines the key to save in localstorage

hide-storage-layout

action-button props

Prop name
Type
Description
Default value

text

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:

Customization

CSS Handles

storageLayout

button

Last updated