↓ Ir para o conteúdo principal

← todas as notas

📎 Webclip

SVG Based Circular Timer Plugin For jQuery - Circle Timer

Circle Timer is presented as a very lightweight jQuery plugin for building an SVG-based circular pie-style countdown timer. The page shows the basic setup, the timer controls, and the callback options used when the countdown completes or updates.

Reading notes
#

  • It requires jQuery, circletimer.min.js, and circletimer.css.
  • The timer is attached to a div element such as #example-timer.
  • The example includes controls for start, pause, and stop.
  • The initialization uses onComplete to run code when time is up.
  • The initialization uses onUpdate to display elapsed time.
  • The default option shown is timeout: 5000.
  • The change log lists v1.0.0 and an added option to increase time while the timer is going.