ngalertify

1.0.2 • Public • Published

ngAlertify

Build Status

Angular JS module that wraps the Alertify.js global window function.

Usage

angular.module("myModule", ["ngAlertify"]).controller("myCtrl", ["alertify", function(alertify) {

// Use alertify here as you normally would.
alertify.alert("Hello, world!");

}]);

Developing

The package version should match the underlying Alertify.js version. Alertify.js code is a submodule, so update it when necessary:

git submodule update

Changes to Alertify.js itself should be done via the Alertify.js repo.

The workflow is Gulp powerered, so just run the following to develop:

gulp

Contributing

Contributions are welcomed. Make sure to follow the ESlint style guide and add tests for all changes. Thanks in advance!

License

This code is licensed under the MPL-2.0 license, while the Alertify.js module has it's own licensing (MIT and MPL-2.0 mixed).

Dependents (0)

Package Sidebar

Install

npm i ngalertify

Weekly Downloads

38

Version

1.0.2

License

MPL-2.0

Last publish

Collaborators

  • bradberger