The BlockModulesConfig
are key-value pairs used to define the behavior of certain features and JavaScript modules inside a dynamically instantiated Block.
All properties below are optional, and you may specify them to determine how these JS modules and features are going to behave on dynamically instantiated Blocks.
Property | Description |
---|---|
extras | (get) extras: {[key: string]: any} Extra data that will be pass down to the instantiated block. The extras will be accessible in the Block script via modulesConfigExtras as constants. |
This module exposes no methods.