# TrackedChangeEventArgs Object

> The event argument for a tracked change related event. When a tracked change is deleted, the event data has the following valid properties: changeKind, userName, highlightColor, highlightMode and changeTime. All other properties are undefined.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Object
- **Introduced:** 28.0
- **Path:** DS Server > Reference > JavaScript API > TrackedChangeEventArgs Object
- **304 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/trackedchangeeventargs/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/trackedchangeeventargs/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/trackedchangeeventargs/llms-full.txt

---

### Description

The event argument for a tracked change related event. When a tracked change is deleted, the event data has the following valid properties: changeKind, userName, highlightColor, highlightMode and changeTime. All other properties are undefined.

### Syntax

```javascript
{
   trackedChange: <TrackedChangeInfo>
}
```

### Examples

The following example demonstrates `TrackedChangeEventArgs` in a practical document-editing workflow. The event argument for a tracked change related event. When a tracked change is deleted, the event data has the following valid properties: changeKind, userName, highlightColor, highlightMode and changeTime. All other properties are undefined.

```javascript
function handleTrackedChange(args) {
    console.log("tracked change:", args.trackedChange);
}
```

---

## In This Section

- [Javascript: TrackedChangeEventArgs.trackedChange Property](https://docs.textcontrol.com/ds-server/reference/javascript/trackedchangeeventargs/trackedchange-property/llms-full.txt): The tracked change's information.

---

## Nearby

- **Previous:** [Javascript: TrackedChangeCollection.remove Method](https://docs.textcontrol.com/ds-server/reference/javascript/trackedchangecollection/remove-method/llms-full.txt)
- **Next:** [Javascript: TrackedChangeEventArgs.trackedChange Property](https://docs.textcontrol.com/ds-server/reference/javascript/trackedchangeeventargs/trackedchange-property/llms-full.txt)
