Latest version | 1.1.2 |
---|---|
Minimum Core | |
Compatible Core | |
Last updated | 1 year ago |
Created | 1 year ago |
Authors |
|
Languages |
English |
Systems | All systems |
Project source | Project URL |
Report bugs | Bug tracker URL |
Read-me | Readme URL |
Changelog | Changelog URL |
License | License URL |
Table of Contents
Window Tabs Keeps your windows in Foundry VTT grouped and organized. Easily Grouping open windows with a tab experience.
Should work with most modules and systems. However, systems or modules with heavy theming may cause graphical issues. If so just let me know and I will try to fix it.
Window Tabs comes with an API to use to help you integrate with it.
You can use game.modules.get('window-tabs').api.register(MODULE_ID, FUNCTION)
to register a custom function that will be called to determine a windows grouping. For example:
game.modules.get('window-tabs').api.register('kasper', (sheetApp) => {
// If Sheet ID is kasper-manager, group kasper wiht config
return (sheetApp?.id == 'kasper-manager' ? 'config' : null);
});
This will check to see if the id
of the window being opened is kasper-manager
. If it is, it will group it with the config
tab. If not, it will not use any custom grouping.
It is recommened that you use your Modules ID as the first parameter, this will help avoiding conflicts with other modules. If you need to register multiple functions, its recommend you use Module ID + Function Name, for example kasper.myFunction
.
You can use game.modules.get('window-tabs').api.unregister(MODULE_ID)
to unregister a custom function. For example:
game.modules.get('window-tabs').api.unregister('kasper');
This will unregister the custom grouping function registered above.
The image used for the logo can be found here Tabs icons created by Smashicons - Flaticon
Distributed under the MIT License. See LICENSE for more information.
To install this package, open your Foundry Setup screen and navigate to your Module tab and click the Install Module button.
From there, you can either search for the package unique name: window-tabs or copy its manifest URL:
And paste it to the input box at the bottom of your window.
You can install this package directly to your Forge account.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Advertisement cookies are used to deliver visitors with customized advertisements based on the pages they visited before and analyze the effectiveness of the ad campaign.