ContextMenuPosition
Integration guide · Reference index
Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.
clientX
clientX: number;Use the type signature above and the integration guide for the owning capability.
clientY
clientY: number;Use the type signature above and the integration guide for the owning capability.
touches
touches?: readonly {
clientX: number;
clientY: number;
}[];Use the type signature above and the integration guide for the owning capability.
attachToXBy
attachToXBy?: "left" | "right" | "auto";Use the type signature above and the integration guide for the owning capability.
attachToYBy
attachToYBy?: "auto" | "auto-strict" | "top" | "bottom";Use the type signature above and the integration guide for the owning capability.
box
box?: {
x: number;
y: number;
w: number;
h: number;
overlapX?: boolean;
};Use the type signature above and the integration guide for the owning capability.
marginX
marginX?: number;Use the type signature above and the integration guide for the owning capability.
marginY
marginY?: number;Use the type signature above and the integration guide for the owning capability.