Home > widget-integration > FilterHelper > deleteQueryParamHistory
FilterHelper.deleteQueryParamHistory() method
Deletes a query parameter from the URL and updates browser history Handles both shortened and full parameter names, sessionStorage cleanup, and URL schemes
Signature:
deleteQueryParamHistory(key: string, options?: {
preventPushHistory?: boolean;
isShortenUrlParam?: boolean;
urlScheme?: number;
}): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
string |
The query parameter key to delete (long form) |
|
options |
{ preventPushHistory?: boolean; isShortenUrlParam?: boolean; urlScheme?: number; } |
(Optional) Options for history and URL handling |
Returns:
void