MultiLinearVariantDisplay
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
Links
Docs
extends
MultiLinearVariantDisplay - Properties
property: type
// type signature
ISimpleType<"MultiLinearVariantDisplay">
// code
type: types.literal('MultiLinearVariantDisplay')
property: layout
// type signature
IOptionalIType<IType<Source[], Source[], Source[]>, [undefined]>
// code
layout: types.optional(types.frozen<Source[]>(), [])
property: rowHeightSetting
used only if autoHeight is false
// type signature
IOptionalIType<ISimpleType<number>, [undefined]>
// code
rowHeightSetting: types.optional(types.number, 11)
property: autoHeight
adjust to height of track/display
// type signature
false
// code
autoHeight: false
property: showSidebarLabelsSetting
// type signature
true
// code
showSidebarLabelsSetting: true
MultiLinearVariantDisplay - Getters
getter: featureUnderMouse
// type
Feature
getter: TooltipComponent
// type
React.ComponentType<any>
getter: sources
// type
{ color: string; baseUri?: string; name: string; group?: string; }[]
getter: rowHeight
// type
number
getter: canDisplayLabels
// type
boolean
getter: totalHeight
// type
number
MultiLinearVariantDisplay - Methods
method: adapterProps
// type signature
adapterProps: () => any
method: renderProps
// type signature
renderProps: () => any
method: trackMenuItems
// type signature
trackMenuItems: () => (MenuDivider | MenuSubHeader | NormalMenuItem | CheckboxMenuItem | RadioMenuItem | SubMenuItem | { ...; })[]
MultiLinearVariantDisplay - Actions
action: setSourcesLoading
// type signature
setSourcesLoading: (str: string) => void
action: setLayout
// type signature
setLayout: (layout: Source[]) => void
action: clearLayout
// type signature
clearLayout: () => void
action: setSources
// type signature
setSources: (sources: Source[]) => void
action: setFeatureUnderMouse
// type signature
setFeatureUnderMouse: (f?: Feature) => void
action: setRowHeight
// type signature
setRowHeight: (arg: number) => void
action: setAutoHeight
// type signature
setAutoHeight: (arg: boolean) => void
action: setShowSidebarLabels
// type signature
setShowSidebarLabels: (arg: boolean) => void
action: renderSvg
// type signature
renderSvg: (opts: ExportSvgDisplayOptions) => Promise<Element>