Warning

Nightly releases are generated automatically from the latest source code and are intended for experimental purposes only. These builds may contain incomplete or untested features, bugs, or security vulnerabilities, and as such, are not for production use. Users should be aware that nightly releases may cause unexpected behavior, data loss, or system instability. Use of these releases is at the user's own risk, and it is advised to have adequate backups before testing. The software is provided as is with no guarantees or support.

ContextMenuCallbackInfo

Type Alias ContextMenuCallbackInfo

ContextMenuCallbackInfo: {
    context: webvis.ContextAPI;
    nodeId?: number;
    pointerInfo?: webvis.PointerInfo;
    triggeredBy?: HTMLElement;
    viewer: webvis.ViewerAPI;
}

Type declaration

  • context: webvis.ContextAPI

    Reference to the related webvis Context.

  • OptionalnodeId?: number

    The related NodeId if available.

  • OptionalpointerInfo?: webvis.PointerInfo

    Additional pointer information like 3d position, 3d normal, etc. Only available if context menu is opened from the 3d view.

  • OptionaltriggeredBy?: HTMLElement

    Reference to the HTMLElement which triggered the opening of the context menu.

  • viewer: webvis.ViewerAPI

    Reference to the related webvis Viewer.