Home > widget-integration > ProductController > detectBlockType

ProductController.detectBlockType() method

Signature:

protected detectBlockType(rootElement: Document | HTMLElement): "filter" | "recommendation" | "search" | null;

Parameters

Parameter

Type

Description

rootElement

Document | HTMLElement

Returns:

"filter" | "recommendation" | "search" | null