Skip to main content

LinearBasicDisplay

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/LinearBasicDisplay/model.ts

used by FeatureTrack, has simple settings like "show/hide feature labels", etc.

extends

LinearBasicDisplay - Properties

property: type

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

property: trackShowLabels

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

property: trackShowDescriptions

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

property: trackDisplayMode

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

property: trackMaxHeight

// type signature
IMaybe<ISimpleType<number>>
// code
trackMaxHeight: types.maybe(types.number)

property: configuration

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

LinearBasicDisplay - Getters

getter: rendererTypeName

// type
any

getter: showLabels

// type
any

getter: showDescriptions

// type
any

getter: maxHeight

// type
any

getter: displayMode

// type
any

getter: rendererConfig

// type
{ [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: unknown): any; } & IStateTreeNode<AnyConfigurationSchemaType>

LinearBasicDisplay - Methods

method: renderProps

// type signature
renderProps: () => { config: { [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: unknown): any; } & IStateTreeNode<AnyConfigurationSchemaType>; }

method: trackMenuItems

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

LinearBasicDisplay - Actions

action: toggleShowLabels

// type signature
toggleShowLabels: () => void

action: toggleShowDescriptions

// type signature
toggleShowDescriptions: () => void

action: setDisplayMode

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

action: setMaxHeight

// type signature
setMaxHeight: (val?: number) => void