A plain object that describes a view element or element name.
Elements without attributes can be given simply as a string:
const viewDefinition = 'p'; Copy
const viewDefinition = 'p';
Which will be treated as:
const viewDefinition = { name: 'p'}; Copy
const viewDefinition = { name: 'p'};
A plain object that describes a view element or element name.
Elements without attributes can be given simply as a string:
Which will be treated as: