963 markdown files reformatted with the repository's pinned prettier so pnpm format:check covers the folded tree like every other repo file. The formatter's embedded-language pass also normalized code fences (TS semicolons, closed HTML tags in examples, lowercased CSS hex colors, one renumbered list that skipped an index). Alphanumeric token deltas vs the fold commit were audited file-by-file; all are formatter-equivalent markup normalizations plus the four sanitized skills.
388 B
388 B
category
| category |
|---|
| Sensors |
useFps
Reactive FPS (frames per second).
Usage
import { useFps } from '@vueuse/core';
const fps = useFps();
Type Declarations
export interface UseFpsOptions {
/**
* Calculate the FPS on every x frames.
* @default 10
*/
every?: number;
}
export declare function useFps(options?: UseFpsOptions): ShallowRef<number>;