Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.45 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.45 KB

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.