Skip to content
shopdepot.dev

Reference

block

The block being rendered.

View as Markdown

Generated from the platform code - always matches what the theme engine allows.

The block being rendered. Available inside every block file.

Available on: every block file.

Properties

Property Type Description
block.id string The block key.
block.type string The block type (the file name).
block.settings hash Values of the block settings, resolved.
block.blocks list of block Nested blocks.
block.attributes html Attributes the theme editor needs to select the block. Print them on the root element.