# UpcastViewCleanupEvent

typedef

Fired before the first conversion event, at the beginning of the upcast (view-to-model conversion) process.

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

<a id="properties">

## Properties

<a id="member-args">

### `args: [ ViewElement | ViewDocumentFragment ]`

<a id="member-name">

### `name: 'viewCleanup'`

#### Value

`object`

## Fired by

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

---

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