# MapperViewToModelPositionEventData

typedef

Data pipeline object that can store and pass data between callbacks. The callback should add `modelPosition` value to that object with calculated [model position](module_engine_model_position-ModelPosition.md).

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

<a id="properties">

## Properties

<a id="member-mapper">

### `mapper: Mapper`

Mapper instance that fired the event.

<a id="member-modelPosition">

### `modelPosition?: ModelPosition`

The callback should add `modelPosition` value to that object with calculated [model position](module_engine_model_position-ModelPosition.md).

<a id="member-viewPosition">

### `viewPosition: ViewPosition`

The view position.

#### Value

`object`

---

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