@vttforge/core / SheetModesConfig
Interface: SheetModesConfig
The opt-in. static MODES = {} is enough; both fields have defaults.
Properties
initial?
readonlyoptionalinitial?:SheetMode
The mode a fresh sheet opens in. Default 'play'.
labels?
readonlyoptionallabels?: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?
readonlyoptionaledit?:string
play?
readonlyoptionalplay?:string