November 2019
Beginner
804 pages
20h 1m
English
The clearBookCollections method's goal is to remove all book collections from the document. You can easily implement it as follows:
clearBookCollections(): void {
this._bookCollectionsContainer.innerHTML = "";
}
We do not need to make checks here since the DOM node was retrieved and checked in the constructor.
Read now
Unlock full access