foundation-layout.registeredelementconfig
Home > @genesislcap/foundation-layout > RegisteredElementConfig
RegisteredElementConfig interface
The parameters that can be set on a new item when being added by the FoundationLayout.addItem() API
Signature:
export interface RegisteredElementConfig
Remarks
elements
- array of Elements that are the content of the new item title
- optional string which is used as the new title of the tab (defaults to be the registered name) closable
- optional boolean which allows the item to be closed with the X button if set and true size
- optional string describing the size of the new item (see the written documentation for more info) registration
- optional string configuring the registration ID of the new item (defaults to sequential IDs)
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
closable? | boolean | (Optional) | |
registration | string | ||
size? | string | (Optional) | |
title? | string | (Optional) |