Skip to main content

Home > blockly > FieldImage > setAlt

FieldImage.setAlt() method

Set the alt text of this image.

Signature:

setAlt(alt: string | null): void;

Parameters

ParameterTypeDescription
altstring | nullNew alt text.

Returns:

void