NewLayoutOptionsinterface
Options for saving a Layout.
Properties (9)
| Property | Type | Default | Required | Description |
|---|---|---|---|---|
| context⚓︎ | any | x | x | Context to be saved with the Layout. Used for transferring data to the apps when restoring a Layout. |
| ignoreContexts⚓︎ | boolean | false | x | If |
| ignoreInstances⚓︎ | string[] | x | x | Window or app instance IDs of the instances to be ignored when saving the Layout. |
| instances⚓︎ | string[] | x | x | Window or app instance IDs of the instances to be saved in the Layout. |
| metadata⚓︎ | any | x | x | Metadata to be saved with the Layout. |
| name⚓︎ | string | x | Name for the Layout. |
|
| saveWindowContexts⚓︎ | boolean | false | x | If |
| setAsCurrent⚓︎ | boolean | true | x | If |
| type⚓︎ | LayoutType | "Global" | x | Type of the Layout. |