Get started with mouse0270-bootstrap-notify CDN

MIT licensed

Mouse0270-bootstrap-notify is a Bootstrap library extension for displaying custom notifications.

Tags:
  • bootstrap
  • jquery
  • notify
  • notification
  • notifications
  • growl
  • message
  • notice

Stable version

Copied!

How to start using mouse0270-bootstrap-notify CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with mouse0270-bootstrap-notify CDN - cdnhub.io</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.2/css/bootstrap.min.css">
    <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"></script>
    <script src="https://cdn.cdnhub.io/mouse0270-bootstrap-notify/3.1.3/bootstrap-notify.min.js"></script>
</head>
<body>
    <button class="btn btn-primary" id="show-notification">Show Notification</button>

    <script>
        document.getElementById('show-notification').addEventListener('click', () => {
            new Noty({
                type: 'success',
                text: 'Notification message!',
                layout: 'topRight',
                timeout: 1500
            }).show();
        });
    </script>
</body>
</html>
Copied!
Copied!

All versions