Skip to main content

Interface: PropertyEditorOptions

Parameters for PropertyEditor.

Properties

PropertyTypeDescription

elementData

ElementModel

Target entity data to edit.

onCancel?

() => void

Handler to abort changing the entity, discarding the operation.

onSubmit

(newData: ElementModel) => void

Handler to submit changed entity data.

Changed data may have a different entity IRI (ElementModel.id) in case when the entity identity needs to be changed.