Alt

Alternative text that is displayed if the image cannot or should not be loaded.

Schema: tchmi:general#/definitions/String

Attribute getter

public getAlt(): string | undefined;

Parameter

Name

Type

Description

-

-

-

Return value

Type

Description

string, undefined

The current value of the attribute.

Attribute setter

public setAlt(valueNew: string | null): void;

Parameter

Name

Type

Description

valueNew

string, null

The new value of the attribute. If null is passed, the internal default value is used.

Return value

Type

Description

void

No return value.

Alt 1:

Available from 1.8