DowncastElementCreatorFunction
Parameters
element : ModelElement
The model element to be converted to the view structure.
conversionApi : DowncastConversionApi
The conversion interface.
data : object
Additional information about the change (same as for
insert
event).Propertiesdata.item : ModelItem
Inserted item.
data.range : ModelRange
Range spanning over inserted item.
Returns
ViewElement | null
The view element.