Home > widget-integration > PredictiveBundleController > openModal
PredictiveBundleController.openModal() method
Opens the predictive bundle modal and focuses the first interactive element.
Signature:
openModal(blockType: string, widgetId: string): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
blockType |
string |
Source block type used to resolve the modal surface. |
|
widgetId |
string |
Widget id associated with the modal content. |
Returns:
void