change-title-onleave
Change the tab title on change its visibility
Install
You can get it on npm/yarn.
npm install change-title-onleave --save
If you're not into package management, download a ZIP file.
Usage
Now, you need to instantiate it by passing an object as parameter;
const options = title: 'Hey! 👀' timeout: 1;options;
You can also require
it:
const changeTitle = ;