Skip to main content

BaseChordDisplay

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

Source code

GitHub page

Docs

extends

BaseChordDisplay - Properties

property: bezierRadiusRatio

// type signature
number
// code
bezierRadiusRatio: 0.1

property: assemblyName

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

property: configuration

// type signature
ConfigurationSchemaType<{ onChordClick: { type: string; description: string; defaultValue: boolean; contextVariable: string[]; }; }, ConfigurationSchemaOptions<undefined, "displayId">>
// code
configuration: ConfigurationReference(baseChordDisplayConfig)

BaseChordDisplay - Getters

getter: blockDefinitions

// type
any[]

getter: rendererType

the pluggable element type object for this display's renderer

// type
RendererType

getter: selectedFeatureId

returns a string feature ID if the globally-selected object is probably a feature

// type
string

BaseChordDisplay - Methods

method: renderProps

// type signature
renderProps: () => any

method: renderSvg

// type signature
renderSvg: (opts: ExportSvgOptions & { theme?: ThemeOptions; }) => Promise<Element>

BaseChordDisplay - Actions

action: onChordClick

// type signature
onChordClick: (feature: Feature) => void

action: renderStarted

// type signature
renderStarted: () => void

action: renderSuccess

// type signature
renderSuccess: ({ message, data, reactElement, html, renderingComponent, }: { message?: string; data?: any; html?: string; reactElement?: React.ReactElement; renderingComponent?: React.ComponentType<any>; }) => void

action: renderError

// type signature
renderError: (error: unknown) => void

action: setRefNameMap

// type signature
setRefNameMap: (refNameMap: Record<string, string>) => void