Comments (7)
It's not currently possible. The problem is that the "super unit" for the largest visible unit is the next bigger unit. Frankly I have no idea why I did that. I have changed that with the latest commit, see: 9dcca68
from timecircles.
I've pushed a new version, and since I haven't heard back from the last commit I'm assuming that it solved the problem. If you've not yet tried it, download the latest version and let me know if it does/doesn't work.
from timecircles.
I've just released version 1.1.4:
https://github.com/wimbarelds/TimeCircles/releases/tag/1.1.4
In this version, you'll have to set the "total_duration" variable in order to keep doing this.
You'd probably want to change this setting when you switch over to only showing seconds.
In your case, I would recommend setting this value to 90 at that point. Read the release notes for a better idea how this setting can be set or used.
from timecircles.
awesome I will look into it soon.
Thanks for the good work!
from timecircles.
The totla duration does not have a circle round it
from timecircles.
Then you're probably doing something wrong. I just tested it by typing the following in console on the demo page:
$("#DateCountdown").data('timer', 5).removeData('date').removeAttr('data-date').TimeCircles({total_duration: 5, time: { Days: {show: false}, Hours: {show: false}, Minutes: {show: false}}}).rebuild().restart();
The demo page is at: http://git.wimbarelds.nl/TimeCircles/
So, it's clearly working- but you're probably doing something wrong.
Could you show is your code?
from timecircles.
$(function(){
$("#PageOpenTimer").TimeCircles({total_duration: 60, direction: "Counter-clockwise",
time: { Days: { show: false }, Hours: { show: false }, Minutes: { show: false }, Seconds: { color: "#ff6138" } },
circle_bg_color: "#f5f5f5"
}).addListener(function (unit, value, total){
if (total == 0) {
$("#PageOpenTimer").TimeCircles().stop();
$('#question-block').empty();
$('#question-block').html("
Time Up move to next question
}
});
})
i tried it with this your example and it works now. but the problem is that the addlistner method is not working i also think its because its not counting down from the duration to zero
from timecircles.
Related Issues (20)
- Call a angular function from a timecircle listener
- timecircles cancels a timeout set outside of it
- Counter Clockwise change second color
- How to change the color of canvas during the counterclockwise
- Can not initialize plugin in Bootstrap 4 modal popup
- Text label for when the date/hour/minutes reach singular state
- Circle direction rtl HOT 1
- Radialfade function
- timecircles is not a function HOT 3
- Cpu Performance
- Customized outer and round progress bars
- Start-time from server HOT 2
- Change of color of the text HOT 1
- How to make counter not reset on page refresh
- After changing data-date="2011-01-01 00:00:00" dynamically, how to start timer again with this new updated date. HOT 1
- How to change timecircle to square
- More than 60 minutes countdown HOT 2
- center
- Circle Background Color Option Doesn't Work
- Site Not loading
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from timecircles.