Skip to main content

TrackHeightMixin

Note: this document is automatically generated from mobx-state-tree objects in our source code. See Core concepts and intro to pluggable elements for more info

Also note: this document represents the state model API for the current released version of jbrowse. If you are not using the current version, please cross reference the markdown files in our repo of the checked out git tag

Source code

GitHub page

Docs

TrackHeightMixin - Properties

property: heightPreConfig

// type signature
IMaybe<ISimpleType<number>>
// code
heightPreConfig: types.maybe(
types.refinement(
'displayHeight',
types.number,
n => n >= minDisplayHeight,
),
)

TrackHeightMixin - Actions

action: setScrollTop

// type signature
setScrollTop: (scrollTop: number) => void

action: setHeight

// type signature
setHeight: (displayHeight: number) => number

action: resizeHeight

// type signature
resizeHeight: (distance: number) => number