Skip to content

Commit

Permalink
Remove constructor from scale-degrees
Browse files Browse the repository at this point in the history
  • Loading branch information
salmacodecomputerlove committed Jul 5, 2020
1 parent 7a39d15 commit e4bc83e
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
import { Component, EventEmitter, Input, Output } from '@angular/core';

@Component({
selector: 'app-scale-degrees',
templateUrl: './scale-degrees.component.html',
styleUrls: ['./scale-degrees.component.scss']
})
export class ScaleDegreesComponent implements OnInit {
export class ScaleDegreesComponent {
@Output() setTonicHighlight = new EventEmitter<boolean>();
@Output() setMediantHighlight = new EventEmitter<boolean>();
@Output() setDominantHighlight = new EventEmitter<boolean>();
@Input() tonicActive;
@Input() mediantActive;
@Input() dominantActive;

constructor() { }

ngOnInit(): void {
}

clickTonic() {
this.setTonicHighlight.emit();
}
Expand Down

0 comments on commit e4bc83e

Please sign in to comment.