Skip to content

Instantly share code, notes, and snippets.

@NishuGoel
Created January 15, 2019 13:20
Show Gist options
  • Save NishuGoel/67df7aac7e60c09a83d6e5c9017ac6a1 to your computer and use it in GitHub Desktop.
Save NishuGoel/67df7aac7e60c09a83d6e5c9017ac6a1 to your computer and use it in GitHub Desktop.
import { Component } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent {
class1= false;
displayChange(i){
this.class1 =!this.class1 ;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment