ng-countdown-ribbon
v0.3.2
Published
A simple module for displaying days remaining before the scheduled event on a ribbon.
Downloads
4
Readme
ng-countdown-ribbon
A simple module for displaying days remaining before the scheduled event on a ribbon.
Demo
Changelog
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.