EditorMenuItem beta
Interface of @v12-engine/editor
ts
export interface EditorMenuItemA line of a menu of the editor (see EditorClient.contextMenu)
Members
checked
ts
checked?: boolean;A line that is on or off: a tick before it while it is
danger
ts
danger?: boolean;Whether the line is drawn as a dangerous one, such as a delete
disabled
ts
disabled?: boolean;Whether the line is shown but cannot be picked
key
ts
key?: string;A key it is also on, shown with it
label
ts
label: string;The text of the line
run
ts
run?: () => void;Does what the line is for when it is picked
separator
ts
separator?: boolean;A line before it