You are viewing API docs for version 1.89.3.

View latest

Home > widget-integration > PredictiveBundleStateService > getFocusRestoreTarget

PredictiveBundleStateService.getFocusRestoreTarget() method

Reads a focus restore target.

Signature:

getFocusRestoreTarget(key: PredictiveBundleFocusRestoreKey): string | undefined;

Parameters

Parameter

Type

Description

key

PredictiveBundleFocusRestoreKey

Focus restore slot.

Returns:

string | undefined

Stored DOM id, or undefined when absent.