LinearReadCloudDisplay
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/alignments/src/LinearReadCloudDisplay/model.ts
it is not a block based track, hence not BaseLinearDisplay extends
LinearReadCloudDisplay - Properties
property: type
// type signature
ISimpleType<"LinearReadCloudDisplay">
// code
type: types.literal('LinearReadCloudDisplay')
property: configuration
// type signature
AnyConfigurationSchemaType
// code
configuration: ConfigurationReference(configSchema)
property: filterBy
// type signature
IOptionalIType<IType<FilterBy, FilterBy, FilterBy>, [undefined]>
// code
filterBy: types.optional(types.frozen<FilterBy>(), defaultFilterFlags)
property: colorBy
// type signature
IType<ColorBy, ColorBy, ColorBy>
// code
colorBy: types.frozen<ColorBy | undefined>()
property: drawSingletons
// type signature
true
// code
drawSingletons: true
LinearReadCloudDisplay - Methods
method: trackMenuItems
// type signature
trackMenuItems: () => (MenuDivider | MenuSubHeader | NormalMenuItem | CheckboxMenuItem | RadioMenuItem | SubMenuItem | { ...; })[]
method: renderSvg
// type signature
renderSvg: (opts: { rasterizeLayers?: boolean; }) => Promise<React.ReactNode>
LinearReadCloudDisplay - Actions
action: setDrawSingletons
// type signature
setDrawSingletons: (f: boolean) => void
action: setLastDrawnOffsetPx
// type signature
setLastDrawnOffsetPx: (n: number) => void
action: setLastDrawnBpPerPx
// type signature
setLastDrawnBpPerPx: (n: number) => void
action: setLoading
// type signature
setLoading: (f: boolean) => void
action: reload
// type signature
reload: () => void
action: setRef
internal, a reference to a HTMLCanvas because we use a autorun to draw the canvas
// type signature
setRef: (ref: HTMLCanvasElement) => void
action: setChainData
// type signature
setChainData: (args: ChainData) => void
action: setFilterBy
// type signature
setFilterBy: (filter: FilterBy) => void