blockly > Field > getDisplayText_

Field.getDisplayText_() method

Get the text from this field to display on the block. May differ from getText due to ellipsis, and other formatting.

Signature:

protected getDisplayText_(): string;

Returns:

string

Text to display.