# TextControlLoadedCallback Function

> Callback function for the textControlLoaded event.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Function
- **Path:** DS Server > Reference > JavaScript API > TextControlLoadedCallback Function
- **167 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/textcontrolloadedcallback/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/textcontrolloadedcallback/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/textcontrolloadedcallback/llms-full.txt

---

### Description

Callback function for the [textControlLoaded event](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/addeventlistener-method/llms-full.txt).

### Syntax

```javascript
function()
```

### Examples

The following example demonstrates `TextControlLoadedCallback` in a practical document-editing workflow. Callback function for the textControlLoaded event.

```javascript
function textControlLoadedCallback() {
    console.log("The asynchronous editor operation completed.");
}
```

---

## Nearby

- **Previous:** [TextControlChangedCallback Function](https://docs.textcontrol.com/ds-server/reference/javascript/textcontrolchangedcallback/llms-full.txt)
- **Next:** [TextDroppedCallback Function](https://docs.textcontrol.com/ds-server/reference/javascript/textdroppedcallback/llms-full.txt)
