ConfigurationEditorWidget
Auto-generated from the @jbrowse/mobx-state-tree model in the source — see the developer guide for concepts. Provided by the config plugin. View source.
Widget for editing a config model's slots in a form: holds the target configuration and debounce-saves edits back to the session.
Properties
| Member | Description |
|---|---|
idid: ElementId | |
typetype: types.literal('ConfigurationEditorWidget') | |
trackIdtrackId: types.maybe(types.string) | the track whose working copy this edits, re-resolved on every read so an undo that replaces the copy moves the editor with it |
Volatiles
| Member | Description |
|---|---|
inlineTargetAnyConfigurationModel | undefined | |
expandedDisplayIdstring | undefined |
Getters
| Member | Description |
|---|---|
targetAnyConfigurationModel | undefined |
Actions
| Member | Description |
|---|---|
setTrackId(trackId: string) => void | edit the working copy of trackId, saving any edit still pending on the previous target first |
setTarget(newTarget: AnyConfigurationModel | undefined) => void | edit a config node directly, saving any edit still pending on the previous target first |
setExpandedDisplayId(displayId: string | undefined) => void |