Skip to main content

Frame.parentFrame() method

Signature:

parentFrame(): Frame | null;

Returns:

Frame | null

the parent Frame, if any. Detached and main frames return null.