Skip to content

mahkassem/mk-notifications

Repository files navigation

MK Notifications

Easy to use CSS, JavaScript notifications, for in browser notifications and toasts

Version 2.1

Change-log:

  • No JQuery required.
  • Fixes and improvments.

How to use

NPM

npm i @mahkassem/mk-notifications

Awesome examples and documentation are availble at project official page: https://mahkassem.github.io/mk-notifications/

Getting Started

MK Notifications is a JavaScript plug-in the can be used in any JavaScript project, allowing you to show cool notifications and toasts, it is free to use LICENSE and open soruce, simply follow the Getting Started guide below to implement MK Notifications in your project.

Fontawesome is required for the plugin pre setted statues, you can use other webfonts for custom icons, but not recommended.

CSS

Copy-paste the stylesheet into your before all other stylesheets to load our CSS, make sure the src matches your project.

<link rel="stylesheet" href="src/css/mk-notifications.min.css">

JS

Place the following <script> near the end of your page, right before closing </body> tag, make sure the href matches your project.

<script href="src/js/mk-notifications.min.js"></script>

Created by: Mahmoud Kassem
Email: [email protected]