Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uzitech/jquery.analogclock.js
An analog clock widget
https://github.com/uzitech/jquery.analogclock.js
Last synced: 16 days ago
JSON representation
An analog clock widget
- Host: GitHub
- URL: https://github.com/uzitech/jquery.analogclock.js
- Owner: UziTech
- License: mit
- Created: 2016-12-02T22:14:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T05:13:54.000Z (11 months ago)
- Last Synced: 2024-10-15T12:19:02.401Z (about 1 month ago)
- Language: JavaScript
- Size: 335 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jquery.analogClock.js
An analog clock widget![analogClockSmooth.gif](analogClockSmooth.gif)
## options
```javascript
$(".clock").analogClock({
width: 300,
backgroundColor: "#ccc",
borderColor: "#666",
borderWidth: 3,
numberColor: "#ff0",
numberSize: 30,
numberPadding: 6,
showSecond: true,
smoothSecond: true,
secondColor: "#f00",
secondWidth: 4,
showMinute: true,
minuteColor: "#0f0",
minuteWidth: 6,
hourColor: "#00f",
hourWidth: 6,
showDigital: true,
digitalColor: "#333"
});
```## methods
```javascript
$(".clock").analogClock("enable");
``````javascript
$(".clock").analogClock("disable");
```