set-tab-status-icon

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i set-tab-status-icon

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • islemaster