@vttforge/core / SheetBaseStatics
Interface: SheetBaseStatics ​
The statics a VTTForge sheet base carries.
The factory used to return a bare constructor, so a subclass writing super.DEFAULT_OPTIONS (the pattern the docs show and every sheet needs) failed to compile. TypeScript cannot see a static through an untyped constructor. The example system never caught it because it is JavaScript.
DEFAULT_OPTIONS is deliberately loose: a subclass merges its own shape into it, and pinning ours would reject the merge.
Extended by ​
Properties ​
DEFAULT_OPTIONS ​
readonlyDEFAULT_OPTIONS:Record<string,any>
DRAG_DROP ​
readonlyDRAG_DROP: readonlyDragDropConfig[]
MODES? ​
readonlyoptionalMODES?:SheetModesConfig
Opt into play and edit modes. Absent, the sheet is always in edit and shows no toggle. See sheet-modes.ts for what the opt-in gives.