# UpcastElementEvent

typedef

Fired when an [`ViewElement`](module_engine_view_element-ViewElement.md) is converted.

`element` is a namespace event for a class of events. Names of actually called events follow the pattern of `element:<elementName>` where `elementName` is the name of the converted element. This way listeners may listen to a conversion of all or just specific elements.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/conversion/upcastdispatcher.ts#L591)

#### Value

`UpcastEvent<'element', ViewElement>`

## Fired by

* [UpcastDispatcher#element](module_engine_conversion_upcastdispatcher-UpcastDispatcher.md#event-element)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
