across-tabs
across-tabs copied to clipboard
Allow passing custom id
Is it possible to pass a custom id to the tab to be opened?
Looking at the source code it looks like the id is always generated from scratch...I would like to submit a PR in order to allow the parent to specify a tabId through the config object. What do you think?
Hi @ullalaaron
No, it is not possible to provide a custom id. Though you can provide a custom name to the opened window by setting window.name or window.windowName. Check this code - https://github.com/wingify/across-tabs/blob/master/src/tab.js#L34
If there's something which can not be done via setting different name, I'll be happy to have custom id support via config.