This class gives a way to automagically attach data loaded from a file as attributes on elements. This is provided to facilitate the development of—and provide a standard interface for—GUI tools.
For example, the following code
will behave as if you had written
The point is that
objects.ts can be written to by a third-party tool.