Adds a new document target to the collection.
<void> DocumentTargetCollection.add(<string> targetName, [<RequestDocumentTargetCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
target |
The target's name. |
callback | Optional. Receives the added document target or null if no target could be added. |
error |
Optional. Is called when the operation failed with an error. |