How the editor draws the field.
The member decorator.
Makes a member editable in the inspector, and fills a field from the configuration.
On a plain field, the engine sets the value before the constructor body runs. It takes
the configuration value under the field's name. When that is missing or null, it
takes the field's initializer, and then a copy of initialValue. Without either, the
field is undefined. Getters, setters and accessors are not filled.
The widget comes from type. Without it, it comes from the type of initialValue:
a number, a string, a boolean, or a point for a vector. Without either, the field is a
text input, and the member must be a string.
Optionaloptions: FieldBaseOptions
How the editor draws the field.
The member decorator.
Makes a member editable in the inspector, and fills a field from the configuration.
On a plain field, the engine sets the value before the constructor body runs. It takes
the configuration value under the field's name. When that is missing or null, it
takes the field's initializer, and then a copy of initialValue. Without either, the
field is undefined. Getters, setters and accessors are not filled.
The widget comes from type. Without it, it comes from the type of initialValue:
a number, a string, a boolean, or a point for a vector. Without either, the field is a
text input, and the member must be a string.
How the editor draws the field.
The member decorator.
Makes a member editable in the inspector, and fills a field from the configuration.
On a plain field, the engine sets the value before the constructor body runs. It takes
the configuration value under the field's name. When that is missing or null, it
takes the field's initializer, and then a copy of initialValue. Without either, the
field is undefined. Getters, setters and accessors are not filled.
The widget comes from type. Without it, it comes from the type of initialValue:
a number, a string, a boolean, or a point for a vector. Without either, the field is a
text input, and the member must be a string.
How the editor draws the field.
The member decorator.
Makes a member editable in the inspector, and fills a field from the configuration.
On a plain field, the engine sets the value before the constructor body runs. It takes the configuration value under the field's
name. When that is missing ornull, it takes the field's initializer, and then a copy ofinitialValue. Without either, the field isundefined. Getters, setters and accessors are not filled.The widget comes from
type. Without it, it comes from the type ofinitialValue: a number, a string, a boolean, or a point for a vector. Without either, the field is a text input, and the member must be a string.