Skip to content
/ notify Public

Nice little Notification alerts with a simple animation without writing any HTML code.

Notifications You must be signed in to change notification settings

4e0x/notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Notify

Nice little Notification alerts with a simple animation without writing any HTML code, Dosen't even require Jquery!!.

Getting Started

Download the distribution and include the file in your pages!

<script type="text/javascript" src="pathtontfy.min.js"></script>
<script>ntfy.init(),ntfy.ntfy(type,position,title,message);</script>

YES! That's it you are all set.

Options

  • Types
    • success
    • error
    • warning
    • info
    • fav
    • notification
    • date
    • pending
    • printing
    • filecopy
  • Position
    • top-left
    • top-right
    • bottom-left
    • bottom-right
    • bottom-left
    • top-center
    • bottom-center

Example

<script>ntfy.init(),ntfy.ntfy("date","top-left","Appointment Booked!,"You have booked the following on 12/01/2020");</script>

NOTE

Have a look at /docs to read the docs/requirements.

Contributing

Feel free to edit/add more features. Pull requests are really appreciated

License

MIT License

About

Nice little Notification alerts with a simple animation without writing any HTML code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published