TAAFT
Free mode
100% free
Freemium
Free Trial
Deals

BaseMax / TinyTimerJs

Tiny and Powerful Library for show time counter.

13 0 Language: JavaScript License: GPL-3.0 Updated: 5y ago

README

Tiny Timer

Tiny and Powerful Library for show time counter.

Features

  • Easy
  • Fast
  • Compact
  • No dependencies

Arguments

Argument Name Goal Default
data-timer-update Functional name for called each time the timer is updated. Optional
data-timer-done Functional name for called each time the timer is done and again start. Optional
data-timer-finish Functional name for called each time the timer complete and finish. Optional
data-timer-delay Delay time to run the timer 1000 ms (1s)
data-timer-mutation The mutation of the time 1 (one by one)
data-timer-duration Time value in seconds Essential and without initial value (Units in seconds)
data-timer-repeat Number of repetitions unlimited

Samples

To view the full details, run the Example.html file.

data-timer-duration





data-timer-repeat



data-timer-repeat



data-timer-mutation



data-timer-delay



data-timer-update

<script>
function check(index)
{
    console.log("Next...");
}
</script>


data-timer-finish

data-timer-done

License

TinyTimer is licensed under the GNU General Public License.

0 AIs selected
Clear selection
#
Name
Task