Static
dnd5eSomething has been dropped on an item or container sheet. Return false
to prevent default behavior.
the target item
the target item sheet
the drop data
false
to prevent default behavior, else the result is discarded
Static
dnd5eThe active effect context menu has established its options and is about to show.
The active effect document instance.
The menu items for this active effect.
true
to allow the menu to show, false
to prevent the default menu from showing.
Static
dnd5eThe facility occupant context menu has established its options and is about to show.
The affected actor.
The affected facility.
The occupant UUID.
The property for saving changes to the target occupant.
The index of the occupant.
The menu items for this occupant.
true
to allow the menu to show, false
to prevent the default menu from showing.
Static
dnd5eThe context menu for the advancements list has been constructed.
The HTML element to which the context options are attached.
The context menu entries.
true
to allow the menu to show, false
to prevent the default menu from showing.
Static
dnd5eThe item context menu has established its options and is about to show.
The item document instance.
The menu items for this item.
true
to allow the menu to show, false
to prevent the default menu from showing.
Static
tidy5eStatic
tidy5eStatic
tidy5eThe facility add button has been clicked for the specified facility type. Normally, this prompts the Compendium Browser.
The inciting event.
The affected actor who will own the facility.
The type of facility that is intended to be added.
true
to allow the default behavior, false
to prevent it.
Static
tidy5eAn empty slot on a facility was clicked. Normally, this opens the Compendium Browser, scoped to actors of any type.
The inciting click event
The affected facility
The intended occupant type
The property path on the target facility to which changes would be applied
true
to allow the default behavior, false
to prevent it.
Static
tidy5eThe group member context menu has established its options and is about to show.
The affected group document instance.
The actor which is a member of the group.
The menu items for this group member.
true
to allow the menu to show, false
to prevent the default menu from showing.
Static
tidy5eStatic
tidy5eStatic
tidy5eSheet item/effect sections are about to be configured. Use this hook to inject additional items, sections, etc., or to adjust context data.
The sheet application instance.
The sheet HTML element.
The data context from getData()
.
Static
tidy5eAn active effect is about to be created for an owning document. This was initiated specifically through Tidy 5e Sheets, whether directly by the user, or indirectly through some user interaction.
The owning document instance which will receive the created effect.
The data used to create it.
The user who initiated the creation.
true
to allow the effect creation, false
to prevent it.
Static
tidy5eAn item is about to be created for an owning document. This was initiated specifically through Tidy 5e Sheets, whether directly by the user, or indirectly through some user interaction.
The owning document instance which will receive the created item.
The data used to create it.
The user who initiated the creation.
true
to allow the item creation, false
to prevent it.
Static
tidy5eThe portrait picker is about to open.
The actor sheet data from getData()
.
The triggering event.
true
to allow the picker to open, false
to prevent it.
Static
tidy5eThe floating context menu's positioning is being determined.
Context menu positioning info, used for determining where to put the context menu.
true
to allow the menu to show, false
to prevent the default menu from showing.
Static
tidy5eStatic
tidy5eA tab is about to be selected.
The sheet application instance.
The sheet's HTML element.
The current tab ID before selecting the new tab, and the new tab ID to be selected.
false
to cancel tabbing.
Static
tidy5eTidy 5e Sheets is ready to be used and customized.
The Tidy 5e Sheets API, used for customizing and registering content with Tidy 5e Sheets.
Static
tidy5eThe actor sheet has rendered all content and registered custom content. Is called on partial and full renders.
The sheet application instance.
The sheet's HTML element.
The data context from getData()
.
true
when performing a full re-render; false
when performing a partial re-render.
Static
tidy5eThe item sheet has rendered all content and registered custom content. Is called on partial and full renders.
The target item sheet application class instance.
The item sheet's HTML element.
The data context from getData()
.
true
when performing a full re-render; false
when performing a partial re-render.
Static
tidy5e
Manages all Hook usage in Tidy 5e Sheets