Skip to content

mustafo-coder/toasts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toasts

Toast({

link: 'https://shaedul-off.vercel.app', // Toasts have 4 types | optional

newWindow: 'true', // true or false, target blank or not | optional

type: 'info', // [success, info, warning, error] Toasts have 4 types | optional

icon: 'https://shaedul-off.vercel.app/assets/logo-74ece346.png', // Image link for toast Toast | optional

iconClass: 'circle', // Icon for Toast | fontawesome icons | optional

bgColor: 'black', // Toast background color | optional | default: white

textColor: 'white', // Toast text color | optional

title: `Portfolio`, // Toast title | required

body: 'Shaedul_Off', // Toast description| optional

duration: 5, // Toast duration time | required

})

You need to link toasts.css, fontawesome cdn and toasts.js to the head tag.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published