1.0.1 • Published 6 years ago

clock3d v1.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Clock3d.js

Import:

import Clock from 'clock3d';
import 'clock3d/style.css';

You can override the styles for yourself

Parameters: Object

keyallowable values
perspectivebool, class "perspective" will be applied to the root
direction"up" or "down"
rootDOM element

Example initialization:

const root = document.querySelector(".clock");
const clock = new Clock({root, perspective: true, direction: "up"});