Interface MenuEntry

interface MenuEntry {
    action: string | () => void;
    hotkey?: string;
    i18n: string;
    only?: string;
}

Properties

action: string | () => void

Action is either a link as a string (will be opened on another tab) or a function that will be executed.

hotkey?: string
i18n: string
only?: string

config.ontology.id for which this entry is shown