foundation-layout
Home > @genesislcap/foundation-layout
foundation-layout package
Classes
|
Class |
Description |
|---|---|
|
Top level web component which is used to initialise a custom layout | |
|
| |
|
| |
Functions
|
Function |
Description |
|---|---|
|
Retrieves a factory function by its key. | |
|
Registers a factory function with a unique key. This allows framework components to be used in the declarative layout API without needing to pass function references through HTML attributes. | |
|
Removes a factory from the registry. This is useful for cleanup when a component is unmounted or no longer needed. |
Interfaces
|
Interface |
Description |
|---|---|
|
Interface to implement on an item which is a component of the layout and you wish to serialise state with. This is saved separately for each instance of the component, which allows you to restore multiple instances of the same component with different state. | |
|
The parameters that can be set on a new item when being added by the FoundationLayout.addItem() API |
Variables
|
Variable |
Description |
|---|---|
|
Default time in milliseconds for the layout to buffer calls to reloading the layout while the declarative API is loading. During the first load of the layout, a loading spinner will be shown. | |
|
Registration object to register the layout with your design system. | |
|
A collection of SVG icons in base64 format. | |
|
(BETA) Put this classname on an element which is a DOM parent of the layout, and if the layout goes into popout mode then it will place itself as the only child for the popout container you set. | |
|
(BETA) Key to be used for controlling popout behaviour | |
|
Defines events that the layout system emits 'firstLoaded' - emitted when the layout has finished loading the first time using the declarative API after DEFAULT_RELOAD_BUFFER ms. | |
|
Defines events that the layout system listens for 'changeTitle' - emit this from a contained item to update the title of the window that contains it. 'autosave' - emit this from a contained item to hint to the layout system that it should autosave the layout. A contained item should do this if it has just changed some state it would like to persist. See LayoutComponentWithState. | |
|
| |
|
|
Type Aliases
|
Type Alias |
Description |
|---|---|
|
Factory function for creating component instances in the layout. | |
|
Definition of a custom button which will be added to all layout items. | |
|
(BETA) | |
|
Defines the shape of the detail that the layout listens works with for events it listens on 'changeTitle' - | |
|
Union type describing the three different types of region splits. Set on the | |
|
Where to and how to add the new item(s) into the layout when using the FoundationLayout.addItem() API. | |
|
Versioned layout config objects. |