notico
v1.0.2
Published
A Powerful and beautiful Library for showing JS Notifications.
Downloads
3
Maintainers
Readme
Notico
A PowerFull and beutifull Library for showing JS Notifications
Tutorial
Step1 : Install Library from NPM or using CDN
Step2 : Use Function in HTML or JS Code
HTML use :
Create a button like this :
<button onclick="showToast.info({})">info</button>
JS use :
Call that function in js :
showToast.info({});
Step3 : Fill parameters as you like
You can enter your parameters :
showToast.success({ title: 'success', message: 'This is an success message', time: 7000 });
in this function you can write the title, massage and time.
if you do not enter the parameters they would be defaults :
title would be the type, massage would be nothing or "" and time would be 7000 ms.
if your time parameter is smaller than 2000 ms then it ignore yours and would be 2000 ms.