chrome-tabs icon indicating copy to clipboard operation
chrome-tabs copied to clipboard

Add support for not closeable tabs

Open se7kn8 opened this issue 6 years ago • 2 comments

With these changes, it's possible to have tabs which are not closeable by the user. To make it easier to close them programmatically, the addTab function now returns the created element, which can be later used to remove the tab.

se7kn8 avatar Jan 30 '19 21:01 se7kn8

@SE7-KN8 Thanks so much for your contribution. After digging into it, I think I’d prefer to implement it in the reverse: keep the element in the template, but remove it if the option is passed. Would you mind making this change?

adamschwartz avatar Apr 12 '19 00:04 adamschwartz

No problem! I just changed it.

se7kn8 avatar Apr 12 '19 21:04 se7kn8