Skip to main content
Version: 23.2.0

Target.opener() 方法

¥Target.opener() method

获取打开此目标的目标。顶层目标返回 null

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

签名

¥Signature

class Target {
abstract opener(): Target | undefined;
}

Returns:

Target | undefined