Skip to main content

Interface: EntityElementProps

Defined in: src/editor/dataElements.ts:45

Properties for EntityElement.

See​

EntityElement

Extends​

Properties​

PropertyTypeDescriptionInherited from

data

ElementModel

‐

‐

elementState?

TemplateState

Initial value for the element template state.

ElementProps.elementState

expanded?

boolean

Initial value for the Element.isExpanded state.

If specified as true, the value is added to the Element.elementState with TemplateProperties.Expanded property.

ElementProps.expanded

id?

string

Unique and immutable element ID.

If not specified, Element.generateId is used to create one.

ElementProps.id

position?

Vector

Initial value for the element position.

ElementProps.position