Get started with notie CDN
MIT licensed
Notie: Lightweight, customizable library for creating notifications/toasts.
Tags:- tip
- javascript
- notification
- alert
- prompt
- confirm
- growl
- toast
- message
Stable version
Copied!
How to start using notie CDN
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/notie/4.3.1/notie.min.css" referrerpolicy="no-referrer" />
<script src="https://cdn.cdnhub.io/notie/4.3.1/notie.min.js" referrerpolicy="no-referrer"></script>
<title>Get started with notie CDN - cdnhub.io</title>
<style>
body {
font-family: Arial, sans-serif;
}
</style>
</head>
<body>
<button id="show-notification">Show Notification</button>
<script>
document.getElementById('show-notification').addEventListener('click', () => {
Notie.create({
text: 'This is a notification message.',
type: 'info' // or 'success', 'warning', 'error'
});
});
</script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!