whs-module-statsjs
v0.1.0
Published
> Based of [stats.js](https://github.com/mrdoob/stats.js). Thanks to [@mrdoob](https://github.com/mrdoob)
Downloads
8
Readme
whs-module-statsjs - Module for JavaScript Performance Monitor
Usage
const app = new WHS.App([
new WHS.app.ElementModule(), // This module is required
// other modules
new StatsModule(StatsModule.codes.fps) // or just "0"
]);
Exported dependencies
Name | Description | Alias
--------|--------------------------------------------------------------------------|------
stats
| Stats
object provided by stats.js| app.$stats
See stats.js example for full codes list