blockly > CodeGenerator > STATEMENT_PREFIX

CodeGenerator.STATEMENT_PREFIX property

Arbitrary code to inject before every statement. Any instances of '%1' will be replaced by the block ID of the statement. E.g. highlight(%1);\n

Signature:

STATEMENT_PREFIX: string | null;