mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
10 lines
346 B
TypeScript
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 = "";
|
|
} |