Skip to main content
Version: Current

foundation-layout.foundationlayoutitem

Home > @genesislcap/foundation-layout > FoundationLayoutItem

FoundationLayoutItem class

FoundationLayoutItem is a custom element that represents an item in the layout.

Signature:

export declare class FoundationLayoutItem extends FoundationElement implements LayoutComponent 

Extends: FoundationElement

Implements: LayoutComponent

Remarks

This element is used to wrap html elements and configure their layout settings as part of the layout system.

This is a simple component which is only used to define the layout splits; any JavaScript API interactions or custom styling is used via FoundationLayout.

Properties

PropertyModifiersTypeDescription
closablebooleanBoolean attribute controls whether the window can be closed in the GUI. Defaults to false.
registrationstringSets the registration name for the item, which can be used later to add the item via the JavaScript API using FoundationLayout.addItem().
sizestringoptional string describing the size of the new item (see the written documentation for more info)
titlestringSets the title of the item which is displayed on the tab.