property boxType

(r/o) string boxType;

Typ

Zugriff

This property returns the type of this box. The current box types are listed below.

var box = scene.getBoxById("text");
if (box && (box.boxType == "nativeText"))
{
    box.setAttribute("label", "test text");
}