Skip to content

@vttforge/core / SheetModesConfig

Interface: SheetModesConfig

The opt-in. static MODES = {} is enough; both fields have defaults.

Properties

initial?

readonly optional initial?: SheetMode

The mode a fresh sheet opens in. Default 'play'.


labels?

readonly optional labels?: object

Labels for the header control, as localization keys or plain text. The play label is shown while in edit (it leads to play), and the reverse. Defaults: 'Play mode' and 'Edit mode'.

edit?

readonly optional edit?: string

play?

readonly optional play?: string

MIT licensed.