Giter Site home page Giter Site logo

angular-flipclock's Introduction

angular-flipclock

wrapper for FlipClock.js jQuery plugin (http://flipclockjs.com/)

screen shot 2016-01-13 at 09 42 26

##Usage

<flip-clock></flip-clock>

Example with start/stop callbacks - http://jsfiddle.net/STEVER/4tdxw3km/

##Installation

Install from npm:

npm install angular-flipclock

or from bower:

bower install angular-flipclock

angular-flipclock's People

Contributors

cwoolum avatar dedsm avatar dotansimha avatar esteban-serfe avatar kukac7 avatar stevermeister avatar xsmael avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

angular-flipclock's Issues

Use to represent numbers that are not a clock?

Could this be used to just represent integers that I am querying a db for every X amount of seconds? I love the look of the way they flip but do not need to show a clock on this site.

Thank you

Error trying to intialize FlipClock

I'm getting TypeError: element.FlipClock is not a function when i try to initialize the FlipClock. If i switch back from the element initializer, it works though.

clock = new FlipClock(element, options);
//clock = element.FlipClock(options);

Any idea what is going on? I am using 0.7.7 of FlipClock

Based condition i need make autostart clock

but flipClock directive load at initially only once. so i have make auto start based on condition if in api success function i got value true then i need to make start the clock else manually i will start the clock how to do this ?

Minification Breaks with ng 1.4.3

Hello,

Great wrapper directive you have here, thanks for providing it!

I'm able to use your directive in my 1.4.3 Angular app fine during development, but your module was the only piece of code that did not like when I minified and concatenated my vendor Javascript files together. I get the following error when I attempt to invoke the directive:

Error: [$injector:unpr] http://errors.angularjs.org/1.4.3/$injector/unpr?p0=aProvider%20%3C-%20a%20%3C-%20flipClockDirective

The error in that querystring link Angular provides is:

Unknown provider: aProvider <- a <- flipClockDirective

I took a look at the minified Javascript and it seems straightforward enough - but I think one of the things that may be tripping me up here is my minifier is probably looking at your unminified code and minifying it - but it might be botching it.

Is there any way you can provide a correctly minified version of your package?

Also does angular-flipclock have any known issues between ng 1.3.9 and 1.4.3 that I may be bumping up against?

Thanks again for this great wrapper. I really love Flipclock and was glad I found an Angular way to use it!

angular 1.2.x support?

Hi,

Exactly this plugin's looking for the angular version.
I ask that works with both angular 1.2.x?

Thanks for your work!

countDown setting.

Want to use this for a countdown timer.

"flipClock clockFace='DailyCounter'" doesn't seem to work. Need to do a countDown from a day and show it in format of DailyCounter. Can you please help with any documentation?

hundreds of days - can it be displayed?

I do not want to go beyond a max time unit of days. However, when I set the flipclock to show hundreds of days, it keeps the days at 2 characters and shifts all values to the right. For example:
Clock should read:
900 days 14 hours 22 minutes 35 seconds

Instead it reads:
90 days, 01 hours 42 minutes 235 seconds (with the 35 counting down)

Is there a setting to allow 3 character days?

Thank you

Cannot start timer programatically, i.e. from inside a controller

I would like to start the timer programatically, i.e. from inside a controller.

To do that I call "$scope.start()" within the controller code, since the directive attaches a ".start()" function to $scope. Inside my ionic app, I then get the following error: "$scope.start is not a function".

I then tried to specify the controller explicitly using ng-controller. The result is that nothing happens, see here:
http://play.ionic.io/app/2870884ee70f

Get Values after Init

Hello !!
First of all, nice job with this !

How after initilizate I get the value of current time? I Already could start/Stop forcing with jquery .click, with the example. But now i wish that with another button click, i could get the current Time of the object. Can you please help me?
Thanks

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.