mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
Tslint
This commit is contained in:
@ -12,10 +12,10 @@ var i = 0;
|
|||||||
function onTap() {
|
function onTap() {
|
||||||
i++;
|
i++;
|
||||||
vm.set("firstTitle", "changed " + i);
|
vm.set("firstTitle", "changed " + i);
|
||||||
if (i == 3) {
|
if (i === 3) {
|
||||||
vm.set("firstIcon", "res://ic_action");
|
vm.set("firstIcon", "res://ic_action");
|
||||||
}
|
}
|
||||||
if (i == 4) {
|
if (i === 4) {
|
||||||
vm.set("firstIcon", "");
|
vm.set("firstIcon", "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user