Skip to content

ContextMenuContext@sheetwrite/core

On this page

Cell and viewport coordinates resolved for one bundled context-menu opening.

Members 3

cell Right-clicked cell, or null when the pointer is outside the cell body.
readonly cell: CellAddress | null;
clientX Viewport-relative browser pointer coordinate.
readonly clientX: number;
clientY Viewport-relative browser pointer coordinate.
readonly clientY: number;

Declaration

View full TypeScript declaration
export interface ContextMenuContext {
readonly cell: CellAddress | null;
readonly clientX: number;
readonly clientY: number;
}

Referenced by

Workspace packages depending on @sheetwrite/core

  • @sheetwrite/benchdependency
  • @sheetwrite/docs-startdependency
  • @sheetwrite/reactdependency
  • @sheetwrite/sveltedependency
  • @sheetwrite/vuedependency
  • @sheetwrite/xlsxdependency

Public exports naming ContextMenuContext

Documentation