13.0.0 • Published 2 years ago

@ngxsmart/alert v13.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Alert

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

New Features

Added Angular 12 Support

Technologies

  1. Angular 11+
  2. 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

  1. Install all dependencies
$ npm install
  1. Build the project
$ npm run build
  1. Link the project
$ npm link  dist/alert

Inside the Test/Actual project, remove the dependency and link local dependency

  1. Install dependencies
$ npm install
  1. Link the library
$ npm link @ngxsmart/alert
  1. Add property "preserveSymlinks": true to angular.json if not already exists
  2. Start the project
$ npm start

Publish the library to NPM(applies to maintainers)

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

2 years ago

12.0.3

3 years ago

12.0.4

3 years ago

12.0.5

3 years ago

12.0.1

3 years ago

12.0.2

3 years ago

12.0.0

3 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago