šŸ”” Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

This library allows us to use html5 NotificationAPI in jquery.

HTML5 Plugins Web

Documentation

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


You May Also Like