setState

[ Function ]

public setState(newValue: any): void;

This function sets a new value for the State attribute.

Parameter

Name

Type

Description

newValue

any

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

Return value

Type

Description

void

No return value.

See also

Attribute getter: getState

Origin: TcHmiStateImage

setState 1:

Available from version 1.12.744