HighlightsMixin
Auto-generated @jbrowse/mobx-state-tree API for the current JBrowse release — see pluggable elements for concepts. Built into JBrowse core. View source.
The view.highlight band state shared verbatim by the LinearGenomeView and
DotplotView: an array of translucent highlight regions. Both views compose
this so the props and actions stay identical by construction rather than by
two hand-kept copies. Visibility across all views is the session-wide
highlightsVisible flag (on BaseSession), not a prop here.
Properties
| Member | Description |
|---|---|
| highlight | translucent highlight bands, seeded from URL params or session JSON and added interactively via the rubber-band menu |
Actions
| Member | Description |
|---|---|
addToHighlights(highlight: HighlightType) => void | |
setHighlight(highlight?: HighlightType[] | undefined) => void | |
removeHighlight(highlight: HighlightType) => void | |
updateHighlight(old: HighlightType, updates: Partial<HighlightType>) => void |