Removes all document links from the collection.
<void> DocumentLinkCollection.clear(<boolean> keepText, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
keep |
If this parameter is set to true, all document links are removed without deleting their texts. Otherwise, the texts are also deleted. |
callback | Optional. Is called when the operation completed. |
error |
Optional. Is called when the operation failed with an error. |