Skip to main content

JBrowseReactLinearGenomeViewSessionModel

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

products/jbrowse-react-linear-genome-view/src/createModel/createSessionModel.ts

composed of

JBrowseReactLinearGenomeViewSessionModel - Properties

property: view

// type signature
IModelType<{ id: IOptionalIType<ISimpleType<string>, [undefined]>; displayName: IMaybe<ISimpleType<string>>; minimized: IType<boolean, boolean, boolean>; } & { ...; }, { ...; } & ... 15 more ... & { ...; }, ModelCreationType<...>, _NotCustomized>
// code
view: pluginManager.getViewType('LinearGenomeView')
.stateModel as LinearGenomeViewStateModel

property: sessionTracks

// type signature
IArrayType<IAnyModelType>
// code
sessionTracks: types.array(
pluginManager.pluggableConfigSchemaType('track'),
)

JBrowseReactLinearGenomeViewSessionModel - Getters

getter: version

// type
any

getter: disableAddTracks

// type
any

getter: assemblies

// type
any[]

getter: assemblyNames

// type
any[]

getter: connections

// type
any

getter: assemblyManager

// type
any

getter: views

// type
({ id: string; displayName: string; minimized: boolean; type: string; offsetPx: number; bpPerPx: number; displayedRegions: IMSTArray<IModelType<{ refName: ISimpleType<string>; start: ISimpleType<number>; end: ISimpleType<...>; reversed: IOptionalIType<...>; } & { ...; }, { ...; }, _NotCustomized, _NotCustomized>> & ...

JBrowseReactLinearGenomeViewSessionModel - Methods

method: renderProps

// type signature
renderProps: () => {
theme: any
highResolutionScaling: any
}

method: getTrackActionMenuItems

// type signature
getTrackActionMenuItems: (config: any) => { label: string; onClick: () => void; icon: OverridableComponent<SvgIconTypeMap<{}, "svg">> & { muiName: string; }; }[]

JBrowseReactLinearGenomeViewSessionModel - Actions

action: addView

// type signature
addView: (typeName: string, initialState?: {}) => { id: string; displayName: string; minimized: boolean; type: string; offsetPx: number; bpPerPx: number; displayedRegions: IMSTArray<IModelType<{ refName: ISimpleType<string>; start: ISimpleType<...>; end: ISimpleType<...>; reversed: IOptionalIType<...>; } & { ...; }, { ...; }...