NavVis IVION API
    Preparing search index...

    Interface ContextMenuEntryInterface

    A context menu entry with a name and an icon that invokes the callback function when clicked.

    interface ContextMenuEntryInterface {
        callback: Function;
        disabled?: boolean;
        icon?: string;
        key?: string;
        name: string;
        svgIcon?: string;
    }
    Index

    Properties

    callback: Function

    Specifies the callback to execute if clicked on

    disabled?: boolean

    Specifies whether this context menu option should be disabled

    icon?: string

    Specifies the material icon to set for the item

    key?: string

    Key for the entry, only one entry is shown per unique key

    name: string

    Specify the human readable name of the command in the menu. This is used as the label for the option

    svgIcon?: string

    Specifies the svg icon to set for the item