Mixin that adds bookmark-style vertical tabs to any AppV2 sheet.
The tabs nav is moved out of .window-content (so it isn't clipped) and placed
as a direct child of .application. changeTab is overridden to temporarily
re-insert the nav for Foundry's private this.#content query.
Usage:
class MySheet extends BookmarkTabsMixin(HandlebarsApplicationMixin(SheetV2)) { … }
Requirements:
PARTS must include tabs: { template: "systems/body-mind-and-soul/templates/parts/tab-navigation.hbs" }
TABS entries should include icon and tooltip fields
Mixin that adds bookmark-style vertical tabs to any AppV2 sheet.
The tabs nav is moved out of .window-content (so it isn't clipped) and placed as a direct child of .application. changeTab is overridden to temporarily re-insert the nav for Foundry's private this.#content query.
Usage: class MySheet extends BookmarkTabsMixin(HandlebarsApplicationMixin(SheetV2)) { … }
Requirements:
iconandtooltipfields