Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get elapsed time in seconds? #4

Closed
ezuhaib opened this issue Aug 18, 2014 · 2 comments
Closed

How to get elapsed time in seconds? #4

ezuhaib opened this issue Aug 18, 2014 · 2 comments

Comments

@ezuhaib
Copy link

ezuhaib commented Aug 18, 2014

I couldn't figure it out from the documentation or source.

@walmik
Copy link
Owner

walmik commented Aug 18, 2014

Hi there, let's say you have initialized the timer on a div with the class 'timer', then you can get the seconds like this:

$('.timer').data('seconds'); //returns the number of seconds

I ve added the instructions to the README (thanks for pointing out!)

@ezuhaib
Copy link
Author

ezuhaib commented Aug 18, 2014

Great! Thanks.

@ezuhaib ezuhaib closed this as completed Aug 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants