flexlayout-react
    Preparing search index...

    Class ModelLayout

    A layout within the model: the main layout, a sublayout hosted in a tab, or a popout (a native window or floating panel) layout. Layouts are passed to the popout props (ILayoutProps.renderPopoutContent, ILayoutProps.onPopoutOpen, ILayoutProps.onPopoutClose) and are also reachable from the model's layout map (see Model).

    Index
    • the id of this layout

      Returns string

    • the name of this layout, e.g. as shown in the model explorer; undefined if not set

      Returns string | undefined

    • the path of this layout within the model, e.g. /sublayout1

      Returns string

    • the rectangle of this layout (popout windows/floating panels)

      Returns Rect

    • the browser window this layout is rendered in (the popout window for a popout layout)

      Returns Window | undefined

    • whether this is the main layout

      Returns boolean

    • visit every node in this layout's tree

      Parameters

      • fn: (node: Node, level: number) => void

      Returns void