Coder Social home page Coder Social logo

paveldemyanenko / ng-countdown-ribbon Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 2.0 162 KB

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

Home Page: http://paveldemyanenko.github.io/ng-countdown-ribbon

License: MIT License

JavaScript 81.67% SCSS 18.33%

ng-countdown-ribbon's Introduction

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's People

Contributors

dependabot-preview[bot] avatar paveldemyanenko avatar scottbcovert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

scottbcovert

ng-countdown-ribbon's Issues

-1 day bug

Event has come changed to "-1 day" bug.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.