Home > widget-integration > PredictiveBundleStateService > setActiveBlockType
PredictiveBundleStateService.setActiveBlockType() method
Tracks the most recent block type driving bundle interactions.
Signature:
setActiveBlockType(blockType?: string): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
blockType |
string |
(Optional) Active block type if known. |
Returns:
void