Skip to content

Instantly share code, notes, and snippets.

@debugmodedotnet
Created August 29, 2018 08:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save debugmodedotnet/020d4e58155b3ea2416c895386368702 to your computer and use it in GitHub Desktop.
Save debugmodedotnet/020d4e58155b3ea2416c895386368702 to your computer and use it in GitHub Desktop.
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-root',
template: `
<app-video [data]='data' [count]='count' ></app-video>
`
})
export class AppComponent implements OnInit {
data: any = {};
count: number;
constructor() {
}
ngOnInit() {
this.data.counter = 1;
this.count = 1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment