Home > widget-integration > FilterController > collapseMobileBtn

FilterController.collapseMobileBtn() method

Handles mobile filter button collapse/expand behavior Manages UI state transitions for mobile filter tree styles

Signature:

collapseMobileBtn(action: {
		actionId?: string;
		elementId?: string;
	}, target?: HTMLElement): Promise<void>;

Parameters

Parameter

Type

Description

action

{ actionId?: string; elementId?: string; }

Action object containing actionId and optional elementId

target

HTMLElement

(Optional)

Returns:

Promise<void>