Category | Sensors |
---|---|
Export Size | 458 B |
Last Changed | last year |
Reactive FPS (frames per second).
import { useFps } from '@vueuse/core' const fps = useFps()
export interface UseFpsOptions { /** * Calculate the FPS on every x frames. * @default 10 */ every?: number } export declare function useFps(options?: UseFpsOptions): Ref<number>
© 2019-present Anthony Fu
Licensed under the MIT License.
https://vueuse.org/core/useFps/