Home > widget-integration > PredictiveBundleController > getTargetElementUpdate
PredictiveBundleController.getTargetElementUpdate() method
Resolves the inline target that should receive bundle updates.
Signature:
getTargetElementUpdate(blockType: string): HTMLElement | null;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
blockType |
string |
Source block type used to decide between modal and page targets. |
Returns:
HTMLElement | null
Target element, or null when no inline surface is available.