# TrackMenuSessionMixin

Auto-generated from the @jbrowse/mobx-state-tree model in the source — see the [developer guide](https://jbrowse.org/jb2/docs/developer_guide/) for concepts. Built into JBrowse core. [View source](https://github.com/GMOD/jbrowse-components/blob/main/packages/product-core/src/Session/TrackMenuSessionMixin.ts).

The minimal track menus used by the embedded react views, which have no
track-editing actions to offer: just "About track" plus any plugin-contributed
items (`Core-extraTrackMenuItems`). Mirrors the shape of the full
`TrackMenuItemsSessionMixin` so both menu surfaces stay consistent across
products, minus the Settings/Copy/Delete actions.

## Methods

| Member | Description |
| --- | --- |
| **getTrackListMenuItems**<br><code>(config: AnyTrackConfig, view?: TrackActionView &#124; undefined) =&gt; MenuItem[]</code> | flattened menu items for use in hierarchical track selector |
| **getTrackActionMenuItems**<br><code>({ config, view, }: { config: AnyConfigurationModel; view?: TrackActionView &#124; undefined; }) =&gt; MenuItem[]</code> |  |

