module

Arbron's Context Menu Library

Endorsements
0
Installs
0.56%
Comments
0
Latest version0.3.2
Minimum Core0.7.9
Compatible Core10
Last updated1 year ago
Created3 years ago
Authors
Languages
Systems All systems
Project source Project URL
Report bugs Bug tracker URL
Read-me Readme URL
Changelog Changelog URL

This library is designed to help module developers expand context menus in parts of Foundry VTT that do not currently support modifying those menus.

Note: If you are not a module developer and you are not installing a module that requires this one, you probably don't need this module.

 

Hooks

  • Hooks.on('_getCompendiumEntryContext', (compendium, html, entryOptions) => {});: This hook is called whenever a Compendium list is rendered. By modifying the contents of `entryOptions`, you can add, remove, or modify the contents of the context menu for each entry in the Compendium. Note: This hook has been replaced by a core hook in V10.
  • Hooks.on('_getModuleManagementEntryContext', (html, entryOptiosn) => {});: This hook is called whenever the Module Management application is rendered. By default no context menu is displayed here, but by adding to entryOptions you can introduce your own menu items.
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x