Home > widget-integration > FilterController > getFilterOptionById

FilterController.getFilterOptionById() method

Gets a filter option by its ID from the filter tree state

Signature:

protected getFilterOptionById(id: string): any;

Parameters

Parameter

Type

Description

id

string

Filter option ID

Returns:

any

Filter option object or undefined