Skip to main content

blockly > FieldDropdown > isFullBlockField

FieldDropdown.isFullBlockField() method

This is hacky way of determining if a dropdown field is a full-block field or not. The constants that control the border rect are the same ones that determine how we render full-block dropdown fields. It's a full-block field if it doesn't have the border rect (and it's a simple reporter block).

Signature:

isFullBlockField(): boolean;

Returns:

boolean

true if this field should be treated as a full-block field