Home > widget-integration > PredictiveBundleController > getBlockType

PredictiveBundleController.getBlockType() method

Resolves the active block type, preferring an explicit value when provided.

Signature:

getBlockType(blockType?: string): string;

Parameters

Parameter

Type

Description

blockType

string

(Optional) Explicit block type override.

Returns:

string

Active block type used by the controller.