Home > widget-integration > PredictiveBundleModule > parseWidgetId

PredictiveBundleModule.parseWidgetId() method

Extracts a widget id from the TAE block id convention.

Signature:

protected parseWidgetId(blockId: string): string;

Parameters

Parameter

Type

Description

blockId

string

Raw TAE block id.

Returns:

string

Widget id without the boost-sd-widget- prefix.