🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@ngxsmart/alert

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@ngxsmart/alert

Reusable alert component created with Bootstrap 5+ and Angular 11+

unpublished
latest
Source
npmnpm
Version
13.0.0
Version published
Maintainers
1
Created
Source

Alert

Reusable alert component created with Bootstrap 5+ and Angular 11+

New Features

Added Angular 12 Support

Technologies

  • Angular 11+
  • Bootstrap 5+

API

List of selectors that can be used to select the component

Selector
alert,lib-alert

Properties

PropertyDescriptionTypeDefault Value
dismissibleIf set, displays an inline "Close" buttonbooleanfalse
dismissOnTimeoutIf set, dismisses the alert after Dismiss Timeoutbooleantrue
dismissTimeoutNumber in milliseconds, after which alert will be closedstring or number5000
isOpenIs alert visiblebooleanfalse
typeAlert type. Provides one of four bootstrap supported contextual classes: success, info, warning and dangerstringinfo

Test project locally in another repo

Run the following steps inside library folder

  • Install all dependencies
$ npm install
  • Build the project
$ npm run build
  • Link the project
$ npm link  dist/alert
  • Install dependencies
$ npm install
  • Link the library
$ npm link @ngxsmart/alert
  • Add property "preserveSymlinks": true to angular.json if not already exists
  • Start the project
$ npm start

Publish the library to NPM(applies to maintainers)

  • Build the library
  ng build --configuration production --project=@ngxsmart/alert
  • Publish the library to NPM
  npm publish dist/alert --access public

Keywords

angular

FAQs

Package last updated on 03 Nov 2021

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