home.component.html <ActionBar title="Home" class="action-bar"> </ActionBar> <ScrollView class="page"> <StackLayout class="home-panel"> <Button text="onActive" (tap)="onActiveButtonTap()"></Button> <Button text="onDeAct" (tap)="onDeActButtonTap()"></Button> <Label textWrap="true" [text]="check + 'Play with nativescript!' " class="normal" [ngClass]="{active : check, deactive : check == false}" class="h2 description-label"></Label> </StackLayout> </ScrollView> home.component.ts import { Component, OnInit } from "@angular/core"; @Component({ selector: "Home", moduleId: module.id, templateUrl: "./home.component.html", styleUrls: ['./home.component.css'] }) export class HomeComponent implements OnInit { check: boole...