Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ngx-alert-message

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-alert-message

Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.

  • 3.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
66
increased by500%
Maintainers
1
Weekly downloads
 
Created
Source

Alert message notifier

For Angular 17 + (standalone component)

Alert component for angular projects. Creative alert message with mutiple color variance.

Import

Import the module on your your-component.component.ts file as follow.

import { AlertComponent, JustAlertComponent } from 'ngx-alert-message';

Then import the module as follow on imports array

@Component({ selector: '...', templateUrl: '...', styleUrls: ['...'], standalone: true, imports: [AlertComponent, JustAlertComponent] })

Using

After importing this library with npm install ngx-alert-message,

just alert module

<ngx-just-alert [close]="close" [mode]="mode" [bold]="bold" [disabled]="'true'" [text]="text"></ngx-just-alert>
close : (required) value shoule be `true | false`

mode : (required) value shoule be `primary | success | danger | info | warning`

bold : (optional) value shoule be `true | false`

text : (required) value shoule be `anything...`

disabled : (optional) value shoule be `true | false`

Alert module

<ngx-alert [close]="close" [mode]="mode" [bold]="bold" [disabled]="'true'" [text]="text"></ngx-alert>
close : (required) value shoule be `true | false`

mode : (required) value shoule be `primary | success | danger | info | warning`

bold : (optional) value shoule be `true | false`

text : (required) value shoule be `anything...`

disabled : (optional) value shoule be `true | false`


Keywords

FAQs

Package last updated on 10 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc