EditorMenu beta
Interface of @v12-engine/editor
ts
export interface EditorMenuA menu of the editor's bar
Members
id
ts
id: string;The menu's id; a line added to the menu of the same id is put at its end
items
ts
items: EditorMenuEntry[] | ((client: EditorClient) => EditorMenuEntry[]);The lines of the menu, or a function working them out from the editor as the menu is opened
label
ts
label: string;What the menu is called in the bar