@byte1024/styler
v0.0.1
Published
css styler
Maintainers
Readme
styler
一些操作样式的工具集合
Install
$ yarn add @byte1024/stylerUsage
import { Ticker, TTickerOptions } from '@byte1024/styler';
const ticker = Ticker.shared;
// const ticker = new Ticker();
function update(dt: number) {
console.log(dt);
}
ticker.start(update);new Ticker(options: TTickerOptions)
| key | default | tips | | --------- | ------- | ---- | | frameRate | 60 | 帧率 |
License
The MIT License
