Home > widget-integration > PredictiveBundleController > getModalSurface
PredictiveBundleController.getModalSurface() method
Resolves or creates the modal surface for the active block type.
Signature:
getModalSurface(blockType?: string): ModalSurface;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
blockType |
string |
(Optional) Source block type used to position the surface. |
Returns:
Managed modal surface.