GithubHelp home page GithubHelp logo

arthurcottey / notisweet.js Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 6 KB

NotiSweet.JS is a JavaScript and CSS project designed to enhance user experience by providing modern and dynamic notifications.

License: MIT License

CSS 33.29% JavaScript 66.71%

notisweet.js's Introduction

NotiSweet.JS

NotiSweet.JS is a JavaScript and CSS library designed to enhance user experience by providing modern and dynamic notifications. With sleek and responsive design, this project offers a seamless way to integrate notifications into web applications. Leveraging the power of JavaScript, NotiSweet.JS enables developers to create visually appealing and interactive notifications that capture users' attention. The CSS styling ensures a polished look, making notifications both functional and aesthetically pleasing. This project is a valuable tool for developers seeking to implement a user-friendly notification system that aligns with contemporary design principles.

Installation

To integrate NotiSweet.JS into your project, start by downloading the latest version from the project's release page. Once downloaded, extract the contents of the compressed file to obtain a folder containing essential files—a CSS file and a JS file. Next, import these files into your web project by linking the CSS file in the HTML head section and including the JS file just before the closing body tag. This simple integration process enables you to leverage NotiSweet.JS for creating modern and dynamic notifications in your web application. To customize and trigger notifications, refer to the documentation or examples provided with the library. This straightforward installation method ensures a seamless addition of NotiSweet.JS to enhance user experience through visually appealing and responsive notifications.

The NotiSweet.JS function

Launch a notification

  notiSweet({ type: "string", title: "string", message: "string", second: int })
Parameter Type Description
type string Required. Type of notification: success, error or warning.
title string Required. TItle of your notification.
message string Required. Message of your notification.
second string/int Optional. Numbers of second before your notification auto close: int or string: infinite

notisweet.js's People

Contributors

arthurcottey avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.