UCSCTrackHubConnection
Auto-generated @jbrowse/mobx-state-tree API for the current JBrowse release —
see pluggable elements for concepts. Provided by the
data-management plugin.
View source.
The configuration slots for this model are documented on its config schema page.
Members a composed model contributes are listed here too, so these tables are the whole surface.
Properties
| Member | Description | Defined by |
|---|---|---|
configurationconfiguration: ConfigurationReference(configSchema) | UCSCTrackHubConnection | |
typetype: types.literal('UCSCTrackHubConnection') | UCSCTrackHubConnection | |
| tracks | BaseConnectionModel | |
silentsilent: types.optional(types.boolean, false) | set when the connection is being re-established on session load (its open tracks are already restored from connectionTrackConfigs), so doConnect suppresses first-connect side effects like launching a view or a success snackbar. Runtime-only: connection instances aren't serialized. | BaseConnectionModel |
Volatiles
| Member | Description | Defined by |
|---|---|---|
loadingloading: false | true while connect() is fetching this connection's tracks; drives a loading affordance in the track selector. Distinct from an empty tracks array, which is also the state of a connection that loaded successfully but has no tracks. | BaseConnectionModel |
Getters
| Member | Description | Defined by |
|---|---|---|
connectionIdstring | the connection's unique id, resolved from its configuration (the config is the source of truth; connection names are not guaranteed unique) | BaseConnectionModel |
namestring | BaseConnectionModel |
Actions
| Member | Description | Defined by |
|---|---|---|
connect() => Promise<void> | UCSCTrackHubConnection | |
setLoading(loading: boolean) => void | BaseConnectionModel | |
addTrackConf(trackConf: TrackConf) => any | BaseConnectionModel | |
addTrackConfs(trackConfs: TrackConf[]) => void | BaseConnectionModel | |
setTrackConfs(trackConfs: TrackConf[]) => void | BaseConnectionModel |