flash-document-title
flash a notification message in the tab title area
Last updated 3 years ago by goto-bus-stop .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install flash-document-title 
SYNC missed versions from official npm registry.

flash-document-title

Flash a notification message in the tab title area.

If the tab is hidden, this module prepends the given argument before the current document title. Each second, it animates by prepending and removing a ! character. Once the tab is no longer hidden, the document title is reset.

screenshot

npm travis standard

Install

npm install flash-document-title

Usage

var flashDocumentTitle = require('flash-document-title')

flashDocumentTitle('???? someone said something!')

License

Apache-2.0

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)

Copyright 2014 - 2017 © taobao.org |