@vttforge/core / BaseItemSheet
Function: BaseItemSheet()
BaseItemSheet():
SheetBaseCtor
Build the BaseItemSheet for the current Foundry runtime.
Returns
Example
ts
class WeaponSheet extends BaseItemSheet() {
static DEFAULT_OPTIONS = foundry.utils.mergeObject(
super.DEFAULT_OPTIONS,
{ classes: ['my-system'], position: { width: 540 } },
);
static PARTS = { ... };
static TABS = {
primary: {
tabs: [
{ id: 'description', group: 'primary', label: 'Description' },
{ id: 'details', group: 'primary', label: 'Details' },
],
initial: 'description',
},
};
}