DowncastElementCreatorFunction
Parameters
element: ModelElementThe model element to be converted to the view structure.
conversionApi: DowncastConversionApiThe conversion interface.
data: objectAdditional information about the change (same as for
insertevent).Propertiesdata.item: ModelItemInserted item.
data.range: ModelRangeRange spanning over inserted item.
Returns
ViewElement | nullThe view element.