Tutorial: View.getParentLayout

View.getParentLayout

Returns the Layout for the Window that a View is attached to.

    //get the current View
    const view = await fin.View.getCurrent();

    //get a reference to the Layout for the Window the view is part of
    const layout = await view.getParentLayout();