Skip to content

EditorPanelInfo beta ​

Interface of @v12-engine/editor

ts
export interface EditorPanelInfo

What the editor says of one of its own panels, with no screen (EDITOR_PANELS): what draws it is the editor's own extension's (EDITOR_EXTENSION, a component by the panel's id)

Members ​

action ​

ts
action?: string;

The name of its action where it is not the panel's id

docs ​

ts
docs?: string;

The page of the docs about it

help ​

ts
help?: string;

What it is for, under its help button

icon ​

ts
icon: string;

The icon shown for the panel in menus and on its tab

id ​

ts
id: string;

The panel's id, the key it is opened and kept by

minSize ​

ts
minSize?: number;

The smallest size the panel may be made when docked, in pixels

prefix ​

ts
prefix?: string;

What is typed in ⌘K before words to search only what it finds (c intro)

side ​

ts
side: DockSide;

The side of the editor the panel docks to when nothing is kept for it

size ​

ts
size?: number;

How big it is docked, and how small it may be made, in pixels

title ​

ts
title: string;

The title shown on the panel's tab

when ​

ts
when?: 'play';

Only while the map is played here (EditorPanelDef.when): the Cheats