Skip to content

gholamhasanEhsani/NotifJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NotifJS

Make a beautiful toast with NotifJS...

Installation

you can add this file to your project and then put the following code at the end of your <head> tag.

<script type="text/javascript" src="./notif.js"></script>

And just use the Notif function in your JavaScript code like the example below

Notif(Text, Color, Time);

Parameters

Argument Description Default Values Type
Text The text that is displayed (required) Not set Everything String
Color Background color of Notif (required) Primary "primary", "info", "success", "warning", "danger", "dark", "secondary", "light", "white" String
Time Duration for which Notif is displayed in seconds (required) 3 1 ≤ Time ≤ 120 Number

Demos

you can visit examples in this link.

About

Make a beautiful toast with NotifJS

Resources

Stars

Watchers

Forks

Packages

No packages published