Skip to main content

AppFocusMixin

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

AppFocusMixin - Properties

property: focusedViewId

used to keep track of which view is in focus

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

AppFocusMixin - Actions

action: setFocusedViewId

// type signature
setFocusedViewId: (viewId: string) => void