Skip to main content
Version: Current


Home > @genesislcap/foundation-layout > LayoutEmitEvents

LayoutEmitEvents variable

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.
'itemAdded' - emitted when an item is added to the layout'
'itemRemoved' - emitted when an item is removed from the layout'
'itemResized' - emitted when the user drags the divider to resize elements


LayoutEmitEvents: {
readonly firstLoaded: "first-loaded";
readonly itemAdded: "item-added";
readonly itemRemoved: "item-removed";
readonly itemResized: "item-resized";