Simple Alert Component To Handle Different Types Of Alerts And Confirmation

NgAlert is a simple alert component, to help show you different levels of alerts and easy configurations about how you want them to behave. It also supports confirmation alerts.

angular alert popup message example, angular alert message on click, angular notification component, alert message in angular material, angular alert service

Table of Contents

How to make use of it:

Installation

npm install --save @theo4u/ng-alert

Usage

<ng-alert [(message)]="message" [dismissable]="true"></ng-alert>
export interface IMessage {
      type: MessageType,
      message: string,
      title?: string,
      buttons?: Array<{
        label: string,
        action?: Function,
        css?: string
      }>
      }

Confirmation Alert

It can also serve as a confirmation alert, if buttons properties of IMessage is passed in, which is an array

  • label: the text to show for your button
  • action: the action to perform when the button is clicked
  • css: your custom css to pass in, since its just a plain <button></button>

simple alert component for angular, NgAlert Plugin/Github


See Demo And Download

Official Website(theoomoregbee): Click Here

This superior jQuery/javascript plugin is developed by theoomoregbee. For extra advanced usage, please go to the official website.

Related Posts

Side-Navigation-Menu-With-Dropdowns-jSide

[Off-Canvas] Simple and Clean Side Navigation Menu With Dropdowns | jSide Menu

JSide menu is a well-designed, simple, and clean side-scrolling menu with dropdown menus. This plugin creates a sticky hamburger button at the top of the page that…

Searchable-Select-Dropdown

A Simple Searchable Select Dropdown Plugin | jQuery Select Search

Simple jQuery search on the selection options plugin for your website. Next, there is a checkbox replacement plugin that refines and beautifies the original selection element with…

country-dropdown-with-flags

A Quick jQuery-Based Country Picker With Flags | Country Select JS

Country Select JS is a jQuery plugin to select a country, based on the international phone input plugin. Adds a flag dropdown to any input, which lists…

Autocomplete-and-Typeahead-Javascript-Library

Simple and Fast Autocomplete and Typeahead Javascript Library | autoComplete.js

autoComplete.js is a simple, pure, and incrementally designed JavaScript library for speed, high versatility, and seamless integration with a wide variety of projects and systems. Features Pure…

Bootstrap-Notification-Message-Alert-Plugin

Bootstrap Notification Message Alert Plugin with jQuery

BootstrapMsg is a jQuery plugin for displaying messages with Bootstrap alert classes to generate hierarchical in-page navigation for an extended webpage sectioned by heading components. Using Bootstrap…

jquery-google-chart-plugin

jQuery Plugin for Transforming HTML Tables Into Charts Using Google Charts

Chartinator is a jQuery plugin for converting HTML tables, Google Sheets and js arrays into charts using Google Charts. Use data from HTML tables Chartinator is designed…