mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00

* feat: support requestAnimationFrame * add native helpers to measure time * test(animation-frame): add tests * chore: refactor animation-frame to its own module * chore: fix tslint
5 lines
100 B
TypeScript
5 lines
100 B
TypeScript
|
|
export function getTimeInFrameBase(): number {
|
|
return java.lang.System.nanoTime() / 1000000;
|
|
}
|