1.0.2 • Published 2 years ago

pyz-clock v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Clock

Canvas Clock Runtime

Installation

npm install pyz-clock

:warning: Bower please do down it;

// index.js 
export var Pyz;
// please not use type module
var Pyz

Usage

import * as Pyz from 'pyz-clock';

let clock = Pyz.Clock({ canvas: document.querySelector('CanvasID'), centerPointer: CenterPointer; // 始终中心点 默认 2/1 R: number; // 半径 textConfig: TextConifg; // text textColor textFont })

interface TextConifg { text: string; textColor: string; textFont: string; }

## Bower CDN

- wait
1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago