Menu
Open source

parentFrame()

This method returns the parent Frame object of the current frame.

Returns

TypeDescription
Frame | nullThe parent frame object of the frame. Or null if the frame has no parent (main frame).