TrackMenuItemsSessionMixin
Auto-generated from the @jbrowse/mobx-state-tree model in the source. See the developer guide for concepts. Built into JBrowse core. View source.
Adds two track-menu wrappers (getTrackListMenuItems for the hierarchical
selector, getTrackActionMenuItems for the in-view label menu) shared by the
full web and desktop sessions. Both are pure functions of getTrackActions,
which each session supplies (web gates on edit rights; desktop adds indexing).
Methods
| Member | Description |
|---|---|
(config: AnyTrackConfig, view?: TrackActionView) => MenuItem[] |
flattened menu items for use in hierarchical track selector |
| track menu with About + "Track actions" submenu for the in-view label |