electron-tabs
electron-tabs copied to clipboard
Tab Limit
Is there a way to set a tab limit? I could bind a function to tab-added and check the length of tabGroup.getTabs() and force tab.close() but it doesn't seem the most elegant of solutions
No. Let's keep this thread as a feature request.
I see many way to implement this:
- add a tabLimit option (not so elegant IMO),
- add a way to abort tab opening into the related event,
- add a tabGroup method to freeze the creation of new tabs,
- add a tabGroup option to filter tabs before it is created.