Skip to content

PavelDemyanenko/ng-countdown-ribbon

Repository files navigation

ng-countdown-ribbon Build Status

NPM version Dependency Status NPM downloads MIT License

A simple module for displaying days remaining before the scheduled event on a ribbon.

Usage

After including ng-countdown-ribbon.min.js and ng-countdown-ribbon.min.css, inject the ng-countdown-ribbon provider into your project.

var app = angular.module('demo', ['ngCountdownRibbon']);

Now you can trigger countdown ribbon from anywhere in your app. To display a ribbon, just use the set method.

First parameter is the end date and second is for the event link. Use date format in ISO 8601.

ngCountdownRibbon.set('2077-03-26', 'http://amzn.com/w/ZWFNUL8AGNLP');

License

ng-countdown-ribbon is freely distributable under the terms of the MIT license.

About

📅 A simple angular module for displaying days remaining before the scheduled event on a ribbon

Resources

License

Stars

Watchers

Forks

Packages

No packages published