ng-countdown-ribbon

0.3.2 • Public • Published

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.

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.

/ng-countdown-ribbon/

    Package Sidebar

    Install

    npm i ng-countdown-ribbon

    Weekly Downloads

    0

    Version

    0.3.2

    License

    MIT

    Unpacked Size

    39 kB

    Total Files

    21

    Last publish

    Collaborators

    • xell