Gets the document target at the current text input position or the document target with the specified id.
<void> DocumentTargetCollection.getItem(<RequestDocumentTargetCallback> callback, [<ErrorCallback> errorCallback], [<number> nameOrId])
Parameter | Description |
---|---|
callback | The callback function that receives the requested value. |
error |
Optional. Is called when the operation failed with an error. |
name |
Optional. Specifies either the document target's identifier set with the ID property or the document target's target name set with the Target |