<!-- Public documentation export; not library implementation source. -->
# CreateContextMenuParams

[Integration guide](https://docs.lumencharts.com/charting-library/reference/compatibility) · [Reference index](https://docs.lumencharts.com/charting-library/api/)

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.

## menuName {#menuname}

```ts
menuName: string;
```

Use the type signature above and the integration guide for the owning capability.

## detail {#detail}

```ts
detail?:
    | {
        type: "series";
        id: string;
      }
    | {
        type: "study";
        id: string | null;
      }
    | {
        type: "shape";
        id: number | string | null;
      }
    | {
        type: "groupOfShapes";
        id: string | null;
      }
    | {
        type: "position";
        id: string | null;
      }
    | {
        type: "order";
        id: string | null;
      };
```

Use the type signature above and the integration guide for the owning capability.

---
Documentation page: https://docs.lumencharts.com/charting-library/api/CreateContextMenuParams
