blockly > FieldImage > getText_

FieldImage.getText_() method

Use the getText_ developer hook to override the field's text representation. Return the image alt text instead.

Signature:

protected getText_(): string | null;

Returns:

string | null

The image alt text.