GithubHelp home page GithubHelp logo

simple-notification's Introduction

Custom Angular Notification Module

This Angular Notification Module is designed to streamline and enhance the notification process within Angular projects. Originally created for personal use, this module offers a simple yet adaptable framework for managing notifications. It provides a foundational structure that can be seamlessly integrated into various Angular applications.

Features: Customizable Configuration: Tailor notifications to suit specific project needs by easily adjusting configurations. Ease of Integration: Simple integration into Angular projects, ensuring a smooth implementation process. Flexibility: Adaptable to diverse notification requirements, enabling developers to create tailored solutions. Extensibility: Built with extensibility in mind, allowing for easy expansion and modification as per project demands.

Usage Instructions:

Installation: Easily integrate this component by importing this component into your project.

Configuration: This component is ready-use. But you can change how the component works or styles to your liking. Note: This module is provided as-is, and users are encouraged to configure it according to their individual project needs.

Usage: To use this component, you can import the Service file into your component :

  • import { NotificationService } from "../shared-component/notification/notification.service";

Add the service to the constructor

  • public constructor( private notificationService: NotificationService ) {}

Call the service to show the notification on any function you like (pick one that suit the condition)

  • this.notificationService.showNotification("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", "success");
  • this.notificationService.showNotification("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", "warning");
  • this.notificationService.showNotification("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", "info");
  • this.notificationService.showNotification("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", "success");
  • this.notificationService.showNotification("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", "error");

Getting Started: Explore the comprehensive documentation for detailed instructions on installation, configuration, and implementation.

License: This project is licensed under MIT License, ensuring flexibility for usage and modification. Refer to the LICENSE file for more details.

simple-notification's People

Contributors

roybookmaker 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.