Created
October 7, 2017 12:11
-
-
Save tkssharma/c7b108d3e1baab9d2438cd4e33e2eb35 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
@Component({ | |
selector: 'video-list', | |
templateUrl: 'video-list.html' | |
}) | |
class VideoList implements OnInit { | |
@Input() Videos:video[] ; | |
@Output() clickParentChange = new EventEmitter(); | |
ngOnInit(){ | |
console.log(this.Videos); | |
} | |
handleClickChange(e:any){ | |
this.clickParentChange.emit({ | |
value: e | |
}); | |
console.log(e); | |
} | |
} | |
export default VideoList; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment