Created
February 25, 2019 14:02
-
-
Save goughjo02/08611315f559803049fa8d2eabc785b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { SelectionModel } from "@angular/cdk/collections"; | |
@Component(...metaData) | |
export class AppComponent implements OnInit { | |
constructor(peopleSelection: PeopleSelectionService) {} | |
ngOnInit(): void { | |
this.peopleSelection.selection.changed.subscribe(e => { | |
console.log(`I have received a value ${e}`); | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment