PreferencesConfigSchema
Auto-generated from the config schema in the source — see the config guide for concepts. Built into JBrowse core. View source.
Sets an admin's or embedder's defaults for user-facing preferences, found on
the root config as configuration.preferences. Each user's runtime
overrides, kept in localStorage, sit over these defaults at app scope, and
the session's getPreference reads the result.
Config slots
Slot types (fileLocation, frozen, ...) are explained in the config slot types reference. Slots a base configuration contributes are listed here too, so this table is the whole surface.
| Slot | Description |
|---|---|
configuration.preferences.animationModestringEnum (system, enabled, disabled) = 'enabled' | controls feature-layout animations: 'enabled' always animates (the default), 'system' respects the OS prefers-reduced-motion setting, 'disabled' never animates |
configuration.preferences.scrollZoomboolean = false | when true, scrolling the mouse wheel over a track zooms in and out without holding Ctrl. Applies globally to all wheel-zoom views. |
configuration.preferences.numberGroupingboolean = true | when true (the default), numbers are displayed with thousand separators (chr1:1,234,567). Turn it off to display them without separators, for copying coordinates into tools that won't accept the commas. Applies to every displayed number, and takes effect on reload. |
configuration.preferences.developerModeboolean = false | when true, the ordering-contract checks a display or plugin can break report themselves in the app rather than only in a development build. Off by default and deliberately not in the Preferences dialog: the messages are about code, and a reader who cannot change the code cannot act on one. Turn it on for a site that is running a plugin under development; a plugin author needs nothing here, since a plugin served from localhost arms the same channel on its own, as does localStorage.jbrowseDeveloperMode. Takes effect on reload. |
Related links
- Config guide: Coloring/theming