set-tab-status-icon
v1.0.0
Published
Dynamically set a colored status icon as the page favicon in the tab bar.
Downloads
3
Readme
set-tab-status-icon
A single function that will change the current page's favicon (displayed in the tab bar) to a simple colored status icon, on demand.
Usage
setTabStatusIcon('not-started'); // Gray icon
setTabStatusIcon('in-progress'); // Blue icon
setTabStatusIcon('pass'); // Green icon
setTabStatusIcon('fail'); // Red icon
setTabStatusIcon('#ff00dd'); // Pass any custom color