PreferencesSessionMixin
Auto-generated from the @jbrowse/mobx-state-tree model in the source — see the developer guide for concepts. Built into JBrowse core. View source.
Loads and saves a user's preference overrides (the BaseSession
preferencesOverrides volatile) in localStorage. Products that let users
edit preferences (web, desktop) compose it; embedded sessions omit it and
resolve preferences from the configuration.preferences admin defaults
only.
PreferencesSessionMixin declares no members of its own — it composes the models below, and everything here is theirs.
Properties
7 inherited properties from one model
From BaseSessionModel: id, name, focusedViewId, highlights, highlightsVisible, highlightLabelsVisible, heldForMissingPlugins
Volatiles
6 inherited volatiles from 2 models
From BaseSessionModel: selection, hovered, queueOfDialogs, preferencesOverrides
Getters
13 inherited getters from 2 models
From BaseSessionModel: root, jbrowse, rpcManager, configuration, adminMode, textSearchManager, assemblies, DialogComponent, DialogProps, animationMode, scrollZoom, numberGrouping
Methods
3 inherited methods from one model
From BaseSessionModel: getPreferenceDefault, getPreference, getPreferenceChanges
Actions
24 inherited actions from 2 models
From BaseSessionModel: setSelection, clearSelection, setHovered, setHighlightsVisible, setHighlightLabelsVisible, addHighlight, removeHighlight, updateHighlight, setHighlights, setPreferenceOverride, clearPreferenceOverrides, clearPreferenceOverride, setScrollZoom, setName, setFocusedViewId, removeActiveDialog, queueDialog, removeDialog
From SnackbarModel: notify, notifyError, setErrorDialog, pushSnackbarMessage, popSnackbarMessage, removeSnackbarMessage