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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.01latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.01

Package Sidebar

Install

npm i set-tab-status-icon

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • islemaster