Skip to main content
Version: Current

foundation-layout.layoutreceiveeventsdetail

Home > @genesislcap/foundation-layout > LayoutReceiveEventsDetail

LayoutReceiveEventsDetail type

Defines the shape of the detail that the layout listens works with for events it listens on

'changeTitle' - title is the string you want to set. For mode: replace will set the title to be title, suffix will append title to the end of the existing title. 'autosave' - no other parameters.

Signature:

export type LayoutReceiveEventsDetail = {
changeTitle: {
title: string;
mode: 'replace' | 'suffix';
};
autosave: void;
};