Skip to content

KeptLayout beta ​

Interface of @v12-engine/editor

ts
export interface KeptLayout

A layout as it is kept: for the next time, or under a name

Members ​

dock ​

ts
dock: unknown;

The dock's own record: its panels, where each is, how big, which float

modes ​

ts
modes: Record<string, DockMode>;

The panels that open another way than they come with, by id

order ​

ts
order?: string[];

The panels' icons in the order they were dragged into on their rails, by id: as they come where left out

sides ​

ts
sides: Record<string, DockSide>;

The panels whose rail is not the one they come with, by id

sizes ​

ts
sizes: Partial<Record<DockSide, number>>;

How big what opens over the scene is, by side: pixels wide, or high for the bottom