# TableOfContentsCallback Function

> Callback function for table of contents related events. (see also TXTextControl.addEventListener function)

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Function
- **Introduced:** 29.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > TableOfContentsCallback Function
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tableofcontentscallback/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tableofcontentscallback/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tableofcontentscallback/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tableofcontentscallback/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tableofcontentscallback/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tableofcontentscallback/#examples)

---

## Nearby

- **Previous:** [Javascript: TableOfContents.update Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tableofcontents/update-method/llms.txt)
- **Next:** [TableOfContentsCollection Object](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/tableofcontentscollection/llms.txt)
