Variable FrameRateConst

FrameRate: string = ...

This is not a core part of ember-resources, but is an example utility to demonstrate a concept when authoring your own resources. However, this utility is still under the broader library's SemVer policy.

A consuming app will not pay for the bytes of this utility unless imported.

Utility that uses requestAnimationFrame to report how many frames per second the current monitor is rendering at.

The result is rounded to two decimal places.

import { FrameRate } from 'ember-resources/util/fps';

<template>
{{FrameRate}}
</template>

Generated using TypeDoc