Home > widget-integration > PredictiveBundleController > getModalId
PredictiveBundleController.getModalId() method
Builds the DOM id used for the modal surface.
Signature:
getModalId(blockType?: string): string;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
blockType |
string |
(Optional) Source block type used to namespace the modal. |
Returns:
string
Modal surface id.