Tutorial: Layout.getConfig

Layout.getConfig

Returns the configuration of the window's layout. Returns the same information that is returned for all windows in getSnapshot.

const layout = fin.Platform.Layout.getCurrentSync();
// Use wrapped instance to get the layout configuration of the current window's Layout:
const layoutConfig = await layout.getConfig();