BaseFeatureWidget
Auto-generated @jbrowse/mobx-state-tree API for the current JBrowse release — see pluggable elements for concepts. Built into JBrowse core. View source.
The feature-details panel. featureData is the clicked feature with the
track's and the session's formatDetails callbacks applied, derived on read
from the raw feature the widget was opened with, so the same widget follows a
config edit and survives its track being closed.
Properties
| Member | Description |
|---|---|
idid: ElementId | |
typetype: types.literal('BaseFeatureWidget') | |
| unformattedFeatureData | the feature as the click handed it over, before any callback ran. Persisted as featureData |
| view | |
| track | |
trackIdtrackId: types.maybe(types.string) | |
trackTypetrackType: types.maybe(types.string) | |
| sequenceFeatureDetails | |
| descriptions | |
| parentFeature | names the feature this one was reached through, when it was reached through one -- a transcript clicked inside its gene |
Volatiles
| Member | Description |
|---|---|
sequenceHoverPositionsequenceHoverPosition: undefined | genomic base currently hovered in this widget's sequence panel, read by the LGV crosshair overlay |
Getters
| Member | Description |
|---|---|
trackConfigurationAnyConfigurationModel | undefined | the config the track tier of formatDetails reads. The open track's own while it is open; after it is closed, the session's copy of the same config, which is why the widget records trackId |
formatDetailsTiersFormatDetailsTiers | |
| formatted | |
maxDepthnumber | undefined | levels of subfeature card the panel renders; unset means no limit |
featureDataSimpleFeatureSerialized | undefined | the feature with every formatDetails callback applied |
errorError | undefined |
Actions
| Member | Description |
|---|---|
setSequenceHoverPosition(pos: SequenceHoverPosition | undefined) => void | |
setFeatureData(featureData: SimpleFeatureSerialized) => void | |
clearFeatureData() => void |