mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
Added a render hook for the daggerheartMenu render
This commit is contained in:
parent
630ba5ab7d
commit
3f228db420
4 changed files with 28 additions and 1 deletions
|
|
@ -43,6 +43,18 @@ export default class DaggerheartMenu extends HandlebarsApplicationMixin(Abstract
|
|||
|
||||
/* -------------------------------------------- */
|
||||
|
||||
/** @inheritDoc */
|
||||
async _onRender(context, options) {
|
||||
super._onRender(context, options);
|
||||
|
||||
Hooks.callAll(
|
||||
CONFIG.DH.HOOKS.sidebarMenuRender,
|
||||
this,
|
||||
this.element.querySelector('[data-application-part="main"]'),
|
||||
context
|
||||
);
|
||||
}
|
||||
|
||||
/** @inheritDoc */
|
||||
async _prepareContext(options) {
|
||||
const context = await super._prepareContext(options);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue