Skip to main content

blockly > FieldImage > setAlt

FieldImage.setAlt() method

Set the alt text of this image.

Signature:

setAlt(alt: string | null): void;

Parameters

Parameter

Type

Description

alt

string | null

New alt text.

Returns:

void