Sign up (with export icon)

DowncastElementCreatorFunction

Api-typedef icontypedef

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).

Properties
data.item: ModelItem

Inserted item.

data.range: ModelRange

Range spanning over inserted item.

Returns

ViewElement | null

The view element.