EditorPanelInfo beta
Interface of @v12-engine/editor
export interface EditorPanelInfoWhat 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
action?: string;The name of its action where it is not the panel's id
docs
docs?: string;The page of the docs about it
help
help?: string;What it is for, under its help button
icon
icon: string;The icon shown for the panel in menus and on its tab
id
id: string;The panel's id, the key it is opened and kept by
minSize
minSize?: number;The smallest size the panel may be made when docked, in pixels
prefix
prefix?: string;What is typed in ⌘K before words to search only what it finds (c intro)
side
side: DockSide;The side of the editor the panel docks to when nothing is kept for it
size
size?: number;How big it is docked, and how small it may be made, in pixels
title
title: string;The title shown on the panel's tab
when
when?: 'play';Only while the map is played here (EditorPanelDef.when): the Cheats