mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
10 lines
313 B
TypeScript
10 lines
313 B
TypeScript
import * as application from "tns-core-modules/application";
|
|
import * as fps from "tns-core-modules/fps-meter";
|
|
fps.addCallback(function (fps, minFps) {
|
|
console.info("fps=" + fps + " minFps=" + minFps);
|
|
});
|
|
fps.start();
|
|
|
|
// Start the application
|
|
application.start({ moduleName: "cuteness.io/main-page" });
|