/jquery_push_notification

This library allows you to use html5 NotificationAPI in jquery

Primary LanguageJavaScriptMIT LicenseMIT

JqueryPushNotification

日本語

Description

This library expands jquery for use html5 NotificationAPI.

Demo

The following is the most simple usecase.

$.notify("body")

Demosite

Usage

Before you use, include jquery.

<script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha256-cCueBR6CsyA4/9szpPfrX3s49M9vUU5BgtiJj06wt/s=" crossorigin="anonymous"></script>

If you'd like to use edge, you can include by the following.

<script src="https://rawgit.com/asmsuechan/jquery_push_notification/master/push_notification.js"></script>

You can also use minified file.

<script src="https://rawgit.com/asmsuechan/jquery_push_notification/master/push_notification.min.js"></script>

Further Reading

MDN Notification API

Contribution

When you detect bugs or improvements, you can send PRs!

I'm looking forward to your PRs!

Licence

MIT

Author

asmsuechan