Theme API
TypeThemeBlockDetails1
One block a shop's theme can use, and where the shop uses it.
| Kind | Type |
|---|---|
| Used in | ListThemeBlocks1 |
Properties
-
namestring requiredWhat a superblock lists to use the block, such as
generic_banner_textimage_1. -
kindstring requiredThe kind of block; settings saved under the kind apply to every block of that kind.
-
helpstring optionalWhat the block is for, when it says.
-
is_widgetboolean optionalThe block is a widget.
-
presetsarray of string optionalPresets the block supports.
-
settingsinteger requiredHow many settings the block itself defines.
-
Where the shop uses the block.