Home > widget-integration > FilterStorageHelper > clearPaginationSession

FilterStorageHelper.clearPaginationSession() method

Clears pagination from session storage.

Removes the stored pagination state. Called when resetting filters or navigating to a new collection.

Signature:

clearPaginationSession(): void;

Returns:

void

Example

Override to clear related pagination state:

clearPaginationSession() {
  super.clearPaginationSession();
  // Clear pagination-related caches
  this.clearPaginationCache();
}