dpskvn / mikulas.js

A Simple JS Clock Lib

Home Page:http://www.dinopaskvan.com/mikulas.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mikulas.js

Build Status

Usage

Grab the library and create a new instance of the Mikulas object, passing the ids of clock hand elements. You can also pass an optional callback function which will get executed every time the clock is updated.

Check the demo for more info.

Example

var c = new Mikulas("h", "m", "s", function() {
  console.log("Clock updated!");
});
c.start();

License

mikulas.js has been released under the MIT license.

Author

Dino Paskvan (http://www.dinopaskvan.com)

About

A Simple JS Clock Lib

http://www.dinopaskvan.com/mikulas.js/

License:MIT License


Languages

Language:JavaScript 89.1%Language:CSS 10.9%