# JavaScript API

> Use the Document Editor's global TXTextControl object in every frontend: init settings, textControlLoaded, callbacks, error handling, promises and collections.

- **Product:** TX Text Control .NET Server
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET Server > Document Editor > JavaScript API
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/javascript-api/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/javascript-api/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/javascript-api/llms-full.txt

---

## On This Page

- [What the JavaScript API Is](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/javascript-api/#what-the-javascript-api-is)
- [When the Object Is Available](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/javascript-api/#when-the-object-is-available)
- [Settings of TXTextControl.init](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/javascript-api/#settings-of-txtextcontrol-init)
- [Callbacks](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/javascript-api/#callbacks)
- [Promises and async/await](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/javascript-api/#promises-and-async-await)
- [The Object Model](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/javascript-api/#the-object-model)
- [Group Changes Into One Undo Step](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/javascript-api/#group-changes-into-one-undo-step)
- [Remove the Editor](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/javascript-api/#remove-the-editor)
- [Find Members in the Reference](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/javascript-api/#find-members-in-the-reference)
- [Next Steps](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/javascript-api/#next-steps)

---

## Nearby

- **Previous:** [Localization](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/ribbon-ui/localization/llms.txt)
- **Next:** [Events](https://docs.textcontrol.com/tx-text-control-dotnet-server/document-editor/events/llms.txt)
