Files
NativeScript/apps/tests/pages/background-test.ts
2015-07-06 17:29:40 +03:00

10 lines
346 B
TypeScript

import view = require("ui/core/view");
export function applyTap(args) {
var el = view.getViewById(view.getAncestor(args.object, "Page"), "test-element");
(<any>el).style = args.object.tag;
}
export function resetTap(args) {
var el = view.getViewById(view.getAncestor(args.object, "Page"), "test-element");
(<any>el).style = "";
}