Skip to main content
Version: Next

Frame.parentFrame() method

Signature:

class Frame {
parentFrame(): Frame | null;
}

Returns:

Frame | null

The parent frame, if any. Detached and main frames return null.