Skip to main content

LinearBasicDisplay

Note: this document is automatically generated from @jbrowse/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

Used by FeatureTrack, has simple settings like "show/hide feature labels", plus gene glyph display options.

extends

LinearBasicDisplay - Properties

property: type

// type signature
ISimpleType<"LinearBasicDisplay">
// code
type: types.literal('LinearBasicDisplay')

property: trackGeneGlyphMode

// type signature
IMaybe<ISimpleType<string>>
// code
trackGeneGlyphMode: types.maybe(types.string)

property: trackSubfeatureLabels

// type signature
IMaybe<ISimpleType<string>>
// code
trackSubfeatureLabels: types.maybe(types.string)

property: trackDisplayDirectionalChevrons

// type signature
IMaybe<ISimpleType<boolean>>
// code
trackDisplayDirectionalChevrons: types.maybe(types.boolean)

property: configuration

// type signature
any
// code
configuration: ConfigurationReference(configSchema)

LinearBasicDisplay - Getters

getter: geneGlyphMode

// type
any

getter: subfeatureLabels

// type
any

getter: displayDirectionalChevrons

// type
any

getter: rendererConfig

// type
{
showLabels: any
showDescriptions: any
subfeatureLabels: any
displayMode: any
maxHeight: any
geneGlyphMode: any
displayDirectionalChevrons: any
}

LinearBasicDisplay - Methods

method: trackMenuItems

// type signature
trackMenuItems: () => MenuItem[]

LinearBasicDisplay - Actions

action: setGeneGlyphMode

// type signature
setGeneGlyphMode: (val: string) => void

action: setSubfeatureLabels

// type signature
setSubfeatureLabels: (val: string) => void

action: toggleDisplayDirectionalChevrons

// type signature
toggleDisplayDirectionalChevrons: () => void