See the 2022 Blockly Developer Summit site here.

Namespace: internalConstants

Properties

COLLAPSE_CHARS

constant   static

Number of characters to truncate a collapsed block to.

DELETE_VARIABLE_ID

constant   static

string

String for use in the dropdown created in field_variable. This string indicates that this option in the dropdown is 'Delete the "%1" variable' and if selected, should trigger the prompt to delete a variable.

DRAG_STACK

constant   static

When dragging a block out of a stack, split the stack in two (true), or drag out the block healing the stack (false).

OPPOSITE_TYPE

constant   static

Lookup table for determining the opposite type of a connection.

RENAME_VARIABLE_ID

constant   static

string

String for use in the dropdown created in field_variable. This string indicates that this option in the dropdown is 'Rename variable...' and if selected, should trigger the prompt to rename a variable.