The removeListener function removes the specified event listener from the TXTextControl object.

<void> TXTextControl.removeEventListener(<string> eventName, <function> callback)

Parameters

Parameter Description
eventName The event name. (For possible event names see addEventListener)
callback The event listener function to remove from the internal list of registered event listeners.