DesktopSessionTrackMenuMixin
Note: this document is automatically generated from @jbrowse/mobx-state-tree objects in our source code. See Core concepts and intro to pluggable elements for more info
Also note: this document represents the state model API for the current released version of jbrowse. If you are not using the current version, please cross reference the markdown files in our repo of the checked out git tag
Links
Docs
DesktopSessionTrackMenuMixin - Methods
method: getTrackActions
raw track actions (Settings, Copy, Delete, Index) without submenu wrapper
// type signature
getTrackActions: (trackConfig: BaseTrackConfig) => MenuItem[]
method: getTrackListMenuItems
flattened menu items for use in hierarchical track selector
// type signature
getTrackListMenuItems: (trackConfig: BaseTrackConfig) => MenuItem[]
method: getTrackActionMenuItems
// type signature
getTrackActionMenuItems: (trackConfig: BaseTrackConfig, extraTrackActions?: MenuItem[]) => MenuItem[]