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
Source file
plugins/linear-genome-view/src/BaseLinearDisplay/models/TrackHeightMixin.tsx
TrackHeightMixin - Properties
property: heightPreConfig
// type signature
IMaybe<ISimpleType<number>>
// code
heightPreConfig: types.maybe(
types.refinement(
'displayHeight',
types.number,
n => n >= minDisplayHeight,
),
)
property: scrollTop
// type signature
number
// code
scrollTop: 0
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