mirror of
https://github.com/WhitestormJS/whs.js.git
synced 2026-02-01 16:57:32 +00:00
whs-module-statsjs - Module for JavaScript Performance Monitor
Usage
const app = new WHS.App([
new WHS.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
Screenshots
