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
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
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)
property: jexlFilters
// type signature
IMaybe<IArrayType<ISimpleType<string>>>
// code
jexlFilters: types.maybe(types.array(types.string))
LinearBasicDisplay - Getters
getter: activeFilters
// type
any
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: Record<string, unknown>): Record<string, unknown> | ({ [x: string]: any; } & NonEmptyObject & ... & IStateTreeNode<...>); } & IStateTreeNode<...>
LinearBasicDisplay - Methods
method: renderProps
// type signature
renderProps: () => { config: { [x: string]: any; } & NonEmptyObject & { setSubschema(slotName: string, data: Record<string, unknown>): Record<string, unknown> | ({ [x: string]: any; } & NonEmptyObject & ... & IStateTreeNode<...>); } & IStateTreeNode<...>; filters: SerializableFilterChain; }
method: trackMenuItems
// type signature
trackMenuItems: () => MenuItem[]
LinearBasicDisplay - Actions
action: setJexlFilters
// type signature
setJexlFilters: (f?: string[]) => void
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