<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`AbstractTextComponent`](AbstractTextComponent) › [`onChange`](AbstractTextComponent/onChange)
## AbstractTextComponent.onChange() method
0.9.7
**Signature:**
```typescript
onChange(callback: (value: string) => any): this;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| <code>callback</code> | <code>(value: string) => any</code> | |
**Returns:**
`this`