fix units
This commit is contained in:
parent
741d90ce8a
commit
ed6bf65eff
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ The returned value `requestId` can be used to cancel the call:
|
||||||
cancelAnimationFrame(requestId);
|
cancelAnimationFrame(requestId);
|
||||||
```
|
```
|
||||||
|
|
||||||
The `callback` gets one argument -- the time passed from the beginning of the page load in microseconds. This time can also be obtained by calling [performance.now()](mdn:api/Performance/now).
|
The `callback` gets one argument -- the time passed from the beginning of the page load in milliseconds. This time can also be obtained by calling [performance.now()](mdn:api/Performance/now).
|
||||||
|
|
||||||
Usually `callback` runs very soon, unless the CPU is overloaded or the laptop battery is almost discharged, or there's another reason.
|
Usually `callback` runs very soon, unless the CPU is overloaded or the laptop battery is almost discharged, or there's another reason.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue