# DifferSnapshot

interface

A snapshot is representing state of a given element before the first change was applied on that element.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/model/differ.ts#L1571)

<a id="properties">

## Properties

<a id="member-attributes">

### `attributes: Map<string, unknown>`

Attributes of the node at the time when the snapshot was made.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/model/differ.ts#L1586)

<a id="member-name">

### `name: string`

Name of the element at the time when the snapshot was made. For text node snapshots, it is set to `'$text'`.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/model/differ.ts#L1581)

<a id="member-node">

### `node: ModelNode`

Node for which was snapshot was made.

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-engine/src/model/differ.ts#L1576)

---

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