mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00

* Add css-perf app. * Style properties now check only properties that are set. Image utils module required on top (instead of in onMeasure) to improve performance. Remove try/catch block when Style applies native property. * fix tslint * Fix broken merge Update package.json version * Failed miserably - if the try/catch around applyProperty method is removed - TextField fails big time. TextField needs some good refactoring as well as calls to _updateTextDecoration & _updateTextTransform utils - setTextTransform & setTextDecoration should be split, typing support should be added.
7 lines
199 B
TypeScript
7 lines
199 B
TypeScript
import {Page} from "ui/page";
|
|
|
|
export function onTap(args: any) {
|
|
global.startTime = global.time();
|
|
let page = <Page>args.object.page;
|
|
page.frame.navigate("css-perf-test/main-page");
|
|
} |