Kvaser CanKing GUI Extensions SDK - v7.3.0
    Preparing search index...

    Type Alias ContextMenuOption

    Menu option that describes one menu item.

    type ContextMenuOption = {
        displayText: string;
        icon?: React.ReactNode;
        shortcut?: string;
        value: number;
    }
    Index

    Properties

    displayText: string

    The text to be displayed in the context menu.

    icon?: React.ReactNode

    An optional icon to be displayed together with the displayText.

    shortcut?: string

    An optional shortcut string to be displayed together with the displayText.

    value: number

    A unique value that identifies this menu item.