Activates the text frame. The text frame receives the input focus. A text frame can only be activated, if the text part that contains the text frame has the input focus.

<void> TextFrame.activate([<RequestBooleanCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Optional. Receives whether the text frame could be activated.
errorCallback Optional. Is called when the operation failed with an error.