Stay organized with collections Save and categorize content based on your preferences.

blockly > Field > getText

Field.getText() method

Get the text from this field. Override getText_ to provide a different behavior than simply casting the value to a string.

Signature:

/** @sealed */
getText(): string;

Returns:

string

Current text.