Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/curtiscde/flashing-page-title-notification

✨ Flashing Page Title Notification npm package
https://github.com/curtiscde/flashing-page-title-notification

browser flashing notification notifications

Last synced: 3 months ago
JSON representation

✨ Flashing Page Title Notification npm package

Awesome Lists containing this project

README

        

# Flashing Page Title Notification JS

[![Netlify Status](https://api.netlify.com/api/v1/badges/ea404321-93fd-4514-bba4-8a4965a7244d/deploy-status)](https://app.netlify.com/sites/flashing-page-title-notification/deploys)

A javascript plugin which allows easy use of creating a flashing page title for notification purposes.

[![enter image description here][1]][1]

[1]: https://i.stack.imgur.com/e2O3j.gif

## Demo

https://flashing-page-title-notification.netlify.com

## Blog Article

https://www.curtiscode.dev/post/js/create-a-flashing-tab-notification-page-title

## Example

```
pageTitleNotification.on("New Message!", 1000);

pageTitleNotification.off()
```

## Install

```
npm install flashing-page-title-notification
```

## Develop

Manual build to `/dist`:

```
npm run build
```

Changes can be tested at `/demo-publish` by running:

```
npm run build-demo
```