Blocks

Block Attributes

Block attributes allow you to configure set properties for a block. They are like decorators in Python or annotations in Java. They can take parameters and are used to set metadata for a block.

Syntax

@@AttributeName(param1, param2, ...)

Parameters depend on the attribute and use the same syntax as the generic types of assignment fields.

Previous
Blocks
Next
Fields