Removes all objects from the collection and from the document.
<void> FrameBaseCollection.clear([<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
callback | Optional. Is called when the operation completed. |
error |
Optional. Is called when the operation failed with an error. |