Blockly. internalConstants
Module that provides constants for use inside Blockly. Do not use these constants outside of the core library.
Properties
COLLAPSE_CHARS
Number of characters to truncate a collapsed block to.
DELETE_VARIABLE_ID
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
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
Lookup table for determining the opposite type of a connection.
RENAME_VARIABLE_ID
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.