Interface NewShellOptions

Options that modify the appearance, features, and behaviour of a Shell and its underlying View.

Hierarchy

  • NewShellOptions

Index

Properties

Optional defaultPaletteVariant

defaultPaletteVariant: StandardPaletteVariant | "standard" | "compact"

The default layout alternative to use for side panel palettes when none is specified. Default is "standard".

Optional editor

editor: Editor

The editor to be controlled by the shell; by default a new editor is created.

Optional panels

An array of zero to two panel templates to configure the controls that appear in the Shell's side panels; by default a standard panel layout is used.

Optional refocusOnView

refocusOnView: boolean

If true, focus will be passed back to the View after clicking on a shell control that activates an editor command. Default is true. Note that focus is not passed back in the following circumstances:

  • When a control is activated by keyboard.
  • When a control that repeats when held down is used (such as the selection and caret movement buttons).

This API is still under development and is subject to change. Copyright © Math I Can Do Solutions Incorporated and/or its licensors.