Skip to main content

Target.opener() method

Get the target that opened this target. Top-level targets return null.

Signature:
opener(): Target | undefined;
Returns:

Target | undefined