toaster-ts
A library to render notifications no matter your framework
Installation
npm install toaster-ts
Usage
import { toast } from 'toaster-ts';
<!DOCTYPE html>
<html lang="en">
<body>
<section
id="toaster-wrapper"
data-position="bottom-left" />
</body>
</html>
Types
toast('Event has been created')
Customize position
<section
id="toaster-wrapper"
data-position="bottom-right" />
<section id="toaster-wrapper" />